Home
last modified time | relevance | path

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

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_scalbn.c51 if (k > 0x7fe) return huge*copysign(huge,x); /* overflow */ in scalbn()
56 return huge*copysign(huge,x); /*overflow*/ in scalbn()
57 else return tiny*copysign(tiny,x); /*underflow*/ in scalbn()
Ds_ccosh.c75 return (CMPLX(h * cos(y), copysign(h, x) * sin(y))); in ccosh()
79 return (CMPLX(creal(z), cimag(z) * copysign(1, x))); in ccosh()
98 return (CMPLX(y - y, x * copysign(0, y))); in ccosh()
108 return (CMPLX(x * x, copysign(0, x) * y)); in ccosh()
Ds_csqrt.c76 return (CMPLX(fabs(b - b), copysign(a, b))); in csqrt()
78 return (CMPLX(a, copysign(b - b, b))); in csqrt()
100 result = CMPLX(fabs(b) / (2 * t), copysign(t, b)); in csqrt()
Ds_scalbnl.c64 return huge*copysign(huge,x); /*overflow*/ in scalbnl()
65 else return tiny*copysign(tiny,x); /*underflow*/ in scalbnl()
Ds_copysign.c26 copysign(double x, double y) in copysign() function
Dcatrig.c310 return (CMPLX(copysign(creal(w), x), copysign(cimag(w), y))); in casinh()
328 return (CMPLX(copysign(rx, x), copysign(ry, y))); in casinh()
448 return (CMPLX(fabs(ry), copysign(rx, cimag(z)))); in cacosh()
587 return (CMPLX(copysign(0, x), y + y)); in catanh()
590 return (CMPLX(copysign(0, x), in catanh()
591 copysign(pio2_hi + pio2_lo, y))); in catanh()
602 copysign(pio2_hi + pio2_lo, y))); in catanh()
626 return (CMPLX(copysign(rx, x), copysign(ry, y))); in catanh()
Ds_cproj.c42 return (CMPLX(INFINITY, copysign(0.0, cimag(z)))); in cproj()
Ds_ctanh.c108 return (CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); in ctanh()
125 return (CMPLX(copysign(1, x), in ctanh()
Ds_csinh.c75 return (CMPLX(copysign(h, x) * cos(y), h * sin(y))); in csinh()
79 return (CMPLX(creal(z) * copysign(1, x), cimag(z))); in csinh()
Ds_fma.c238 zs = copysign(DBL_MIN, zs); in fma()
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/
Db_exp.c103 k=invln2*x+copysign(0.5,x); /* k=NINT(x/ln2) */
148 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.arm64.map65 copysign;
Dlibm.x86.map65 copysign;
Dlibm.mips64.map65 copysign;
Dlibm.x86_64.map65 copysign;
Dlibm.mips.map65 copysign;
Dlibm.arm.map65 copysign;
Dlibm.map.txt64 copysign;
/bionic/tests/
Dmath_test.cpp1066 TEST(math, copysign) { in TEST() argument
1067 ASSERT_DOUBLE_EQ(0.0, copysign(0.0, 1.0)); in TEST()
1068 ASSERT_DOUBLE_EQ(-0.0, copysign(0.0, -1.0)); in TEST()
1069 ASSERT_DOUBLE_EQ(2.0, copysign(2.0, 1.0)); in TEST()
1070 ASSERT_DOUBLE_EQ(-2.0, copysign(2.0, -1.0)); in TEST()
1474 DoMathDataTest<1>(g_copysign_intel_data, copysign); in TEST()
/bionic/libm/include/
Dmath.h224 double copysign(double, double) __pure2;
/bionic/libc/tools/
Dposix-2013.txt130 copysign