Home
last modified time | relevance | path

Searched refs:copysign (Results 1 – 25 of 131) sorted by relevance

123456

/glibc-2.36/math/
Dlibm-test-copysign.inc1 /* Test copysign.
23 TEST_ff_f (copysign, 0, 0, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
24 TEST_ff_f (copysign, 0, minus_zero, minus_zero, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
25 TEST_ff_f (copysign, minus_zero, 0, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
26 TEST_ff_f (copysign, minus_zero, minus_zero, minus_zero, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
28 TEST_ff_f (copysign, 0, 4, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
29 TEST_ff_f (copysign, 0, -4, minus_zero, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
30 TEST_ff_f (copysign, minus_zero, 4, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
31 TEST_ff_f (copysign, minus_zero, -4, minus_zero, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
33 TEST_ff_f (copysign, 2, 0, 2, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
[all …]
Dbug-nextafter.c199 dm = nextafter (copysign (zero, -1.0), -inf); in main()
299 lm = nextafterl (copysign (zero, -1.0), -inf); in main()
Dbug-nexttoward.c201 dm = nexttoward (copysign (zero, -1.0), -inf); in main()
301 lm = nexttowardl (copysign (zero, -1.0), -inf); in main()
/glibc-2.36/sysdeps/powerpc/fpu/
Ds_modf.c34 return copysign (0.0, x); in __modf()
45 return copysign (x - *iptr, x); in __modf()
50 return copysign (x - *iptr, x); in __modf()
/glibc-2.36/sysdeps/ieee754/dbl-64/
Ds_scalbln.c43 return tiny*copysign(tiny,x); /*underflow*/ in __scalbln()
45 return huge*copysign(huge,x); /* overflow */ in __scalbln()
53 return tiny*copysign(tiny,x); /*underflow*/ in __scalbln()
Ds_scalbn.c43 return tiny*copysign(tiny,x); /*underflow*/ in __scalbn()
45 return huge*copysign(huge,x); /* overflow */ in __scalbn()
53 return tiny*copysign(tiny,x); /*underflow*/ in __scalbn()
De_gamma_r.c217 ret = math_narrow_eval (-copysign (DBL_MAX, ret) * DBL_MAX); in __ieee754_gamma_r()
221 ret = math_narrow_eval (copysign (DBL_MAX, ret) * DBL_MAX); in __ieee754_gamma_r()
228 ret = math_narrow_eval (-copysign (DBL_MIN, ret) * DBL_MIN); in __ieee754_gamma_r()
232 ret = math_narrow_eval (copysign (DBL_MIN, ret) * DBL_MIN); in __ieee754_gamma_r()
Ds_copysign.c32 libm_alias_double (__copysign, copysign)
De_jn.c255 ret = math_narrow_eval (copysign (DBL_MIN, ret) * DBL_MIN); in __ieee754_jn()
350 ret = copysign (DBL_MAX, ret) * DBL_MAX; in libm_alias_finite()
Ds_sin.c144 return copysign (sn + cor, xold); in do_sin()
229 retval = copysign (do_cos (t, hp1), x); in __sin()
/glibc-2.36/stdlib/
Dtst-strtod5.c78 || copysign (10.0, r) != copysign (10.0, tests[i].expected)) in do_test()
Dtst-strtod5i.c89 || copysign (10.0, r) != copysign (10.0, tests[i].expected)) in do_test()
Dtst-strtod-nan-sign-main.c35 FTYPE copy_pos = copysign ## CSUF (1, val_pos); \
38 FTYPE copy_neg = copysign ## CSUF (1, val_neg); \
/glibc-2.36/sysdeps/ieee754/ldbl-opt/
Dnldbl-copysign.c7 return copysign (x, y); in copysignl()
/glibc-2.36/sysdeps/riscv/rvf/
Ds_copysignf.c29 libm_alias_float (__copysign, copysign)
/glibc-2.36/sysdeps/riscv/rvd/
Ds_copysign.c29 libm_alias_double (__copysign, copysign)
/glibc-2.36/sysdeps/ieee754/flt-32/
Ds_copysignf.c34 libm_alias_float (__copysign, copysign)
/glibc-2.36/sysdeps/ieee754/ldbl-96/
Ds_copysignl.c34 libm_alias_ldouble (__copysign, copysign)
/glibc-2.36/sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/
Ds_copysignf.c31 libm_alias_float (__copysign, copysign)
Ds_copysign.c34 libm_alias_double (__copysign, copysign)
/glibc-2.36/sysdeps/alpha/fpu/
Ds_rint.c40 x = copysign(new_x, x); in __rint()
Ds_lround.c31 adj = copysign (0.5, x); in __lround()
/glibc-2.36/sysdeps/riscv/rv64/rvd/
Ds_rint.c47 x = copysign (new_x, x); in __rint()
Ds_nearbyint.c44 x = copysign (new_x, x); in __nearbyint()
/glibc-2.36/sysdeps/ieee754/ldbl-128/
Ds_copysignl.c46 libm_alias_ldouble (__copysign, copysign)

123456