Searched refs:copysign (Results 1 – 22 of 22) sorted by relevance
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_scalbn.c | 51 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()
|
D | s_ccosh.c | 75 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()
|
D | s_csqrt.c | 76 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()
|
D | s_scalbnl.c | 64 return huge*copysign(huge,x); /*overflow*/ in scalbnl() 65 else return tiny*copysign(tiny,x); /*underflow*/ in scalbnl()
|
D | s_copysign.c | 26 copysign(double x, double y) in copysign() function
|
D | catrig.c | 310 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()
|
D | s_cproj.c | 42 return (CMPLX(INFINITY, copysign(0.0, cimag(z)))); in cproj()
|
D | s_ctanh.c | 108 return (CMPLX(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); in ctanh() 125 return (CMPLX(copysign(1, x), in ctanh()
|
D | s_csinh.c | 75 return (CMPLX(copysign(h, x) * cos(y), h * sin(y))); in csinh() 79 return (CMPLX(creal(z) * copysign(1, x), cimag(z))); in csinh()
|
D | s_fma.c | 238 zs = copysign(DBL_MIN, zs); in fma()
|
/bionic/libm/upstream-freebsd/lib/msun/bsdsrc/ |
D | b_exp.c | 103 k=invln2*x+copysign(0.5,x); /* k=NINT(x/ln2) */ 148 k = z + copysign(.5, x);
|
/bionic/libm/ |
D | fake_long_double.c | 27 long double copysignl(long double a1, long double a2) { return copysign(a1, a2); } in copysignl()
|
D | libm.arm64.map | 65 copysign;
|
D | libm.x86.map | 65 copysign;
|
D | libm.mips64.map | 65 copysign;
|
D | libm.x86_64.map | 65 copysign;
|
D | libm.mips.map | 65 copysign;
|
D | libm.arm.map | 65 copysign;
|
D | libm.map.txt | 64 copysign;
|
/bionic/tests/ |
D | math_test.cpp | 1066 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/ |
D | math.h | 224 double copysign(double, double) __pure2;
|
/bionic/libc/tools/ |
D | posix-2013.txt | 130 copysign
|