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_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()
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_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()
Ds_ctanh.c110 return (CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); in ctanh()
129 return (CMPLX(copysign(1, x), in ctanh()
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_copysign.c26 copysign(double x, double y) in copysign() function
Ds_cproj.c45 return (CMPLX(INFINITY, copysign(0.0, cimag(z)))); in cproj()
Ds_sinpi.c164 return (copysign(0, x)); in sinpi()
Ds_fma.c247 zs = copysign(DBL_MIN, zs); in fma()
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_exp.c102 k = z + copysign(0.5, x); in __exp__D()
/bionic/libm/
Dbuiltins.cpp33 double copysign(double x, double y) { return __builtin_copysign(x, y); } in copysign() function
Dlibm.map.txt64 copysign;
/bionic/tests/headers/posix/
Dtgmath_h.c77 TGMATH2(copysign); in tgmath_h()
Dmath_h.c155 FUNCTION(copysign, double (*f)(double, double)); in math_h()
/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.cpp1355 TEST(MATH_TEST, copysign) { in TEST() argument
1356 ASSERT_DOUBLE_EQ(0.0, copysign(0.0, 1.0)); in TEST()
1357 ASSERT_DOUBLE_EQ(-0.0, copysign(0.0, -1.0)); in TEST()
1358 ASSERT_DOUBLE_EQ(2.0, copysign(2.0, 1.0)); in TEST()
1359 ASSERT_DOUBLE_EQ(-2.0, copysign(2.0, -1.0)); in TEST()
1833 DoMathDataTest<1>(g_copysign_intel_data, copysign); in TEST()
/bionic/libc/tools/
Dposix-2013.txt130 copysign