Home
last modified time | relevance | path

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

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_scalbn.c49 if (k > 0x7fe) return huge*copysign(huge,x); /* overflow */ in scalbn()
54 return huge*copysign(huge,x); /*overflow*/ in scalbn()
56 return tiny*copysign(tiny,x); /*underflow*/ in scalbn()
Ds_ccosh.c77 return (CMPLX(h * cos(y), copysign(h, x) * sin(y))); in ccosh()
81 return (CMPLX(creal(z), cimag(z) * copysign(1, x))); in ccosh()
100 return (CMPLX(y - y, x * copysign(0, y))); in ccosh()
110 return (CMPLX(x * x, copysign(0, x) * y)); in ccosh()
Ds_csqrt.c67 return (CMPLX(fabs(b - b), copysign(a, b))); in csqrt()
69 return (CMPLX(a, copysign(b - b, b))); in csqrt()
107 ry = copysign(scale * t, b); in csqrt()
Dcatrig.c312 return (CMPLX(copysign(creal(w), x), copysign(cimag(w), y))); in casinh()
330 return (CMPLX(copysign(rx, x), copysign(ry, y))); in casinh()
450 return (CMPLX(fabs(ry), copysign(rx, cimag(z)))); in cacosh()
594 return (CMPLX(copysign(0, x), y + y)); in catanh()
597 return (CMPLX(copysign(0, x), in catanh()
598 copysign(pio2_hi + pio2_lo, y))); in catanh()
609 copysign(pio2_hi + pio2_lo, y))); in catanh()
633 return (CMPLX(copysign(rx, x), copysign(ry, y))); in catanh()
Ds_scalbnl.c62 return huge*copysign(huge,x); /*overflow*/ in scalbnl()
64 return tiny*copysign(tiny,x); /*underflow*/ in scalbnl()
Ds_ctanh.c110 return (CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); in ctanh()
127 return (CMPLX(copysign(1, x), in ctanh()
Ds_copysign.c26 copysign(double x, double y) in copysign() function
Ds_cproj.c45 return (CMPLX(INFINITY, copysign(0.0, cimag(z)))); in cproj()
Ds_csinh.c77 return (CMPLX(copysign(h, x) * cos(y), h * sin(y))); in csinh()
81 return (CMPLX(creal(z) * copysign(1, x), cimag(z))); in csinh()
Ds_fma.c240 zs = copysign(DBL_MIN, zs); in fma()
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_exp.c101 k=invln2*x+copysign(0.5,x); /* k=NINT(x/ln2) */
146 k = z + copysign(.5, x);
/bionic/libm/
Dfake_long_double.c27 long double copysignl(long double a1, long double a2) { return copysign(a1, a2); } in copysignl()
Dlibm.map.txt64 copysign;
/bionic/libc/include/
Dmath.h273 double copysign(double __value, double __sign) __attribute_const__;
275 long double copysignl(long double __value, long double __sign) __RENAME_LDBL(copysign, 3, 3) __attr…
/bionic/tests/
Dmath_test.cpp1314 TEST(MATH_TEST, copysign) { in TEST() argument
1315 ASSERT_DOUBLE_EQ(0.0, copysign(0.0, 1.0)); in TEST()
1316 ASSERT_DOUBLE_EQ(-0.0, copysign(0.0, -1.0)); in TEST()
1317 ASSERT_DOUBLE_EQ(2.0, copysign(2.0, 1.0)); in TEST()
1318 ASSERT_DOUBLE_EQ(-2.0, copysign(2.0, -1.0)); in TEST()
1779 DoMathDataTest<1>(g_copysign_intel_data, copysign); in TEST()
/bionic/tests/headers/posix/
Dmath_h.c155 FUNCTION(copysign, double (*f)(double, double)); in math_h()
/bionic/libc/tools/
Dposix-2013.txt130 copysign