Home
last modified time | relevance | path

Searched refs:copysignf (Results 1 – 13 of 13) sorted by relevance

/bionic/libm/upstream-freebsd/lib/msun/src/
Ds_scalbnf.c43 if (k > 0xfe) return huge*copysignf(huge,x); /* overflow */ in scalbnf()
48 return huge*copysignf(huge,x); /*overflow*/ in scalbnf()
50 return tiny*copysignf(tiny,x); /*underflow*/ in scalbnf()
Ds_csqrtf.c63 return (CMPLXF(fabsf(b - b), copysignf(a, b))); in csqrtf()
65 return (CMPLXF(a, copysignf(b - b, b))); in csqrtf()
82 return (CMPLXF(fabsf(b) / (2 * t), copysignf(t, b))); in csqrtf()
Ds_ccoshf.c68 return (CMPLXF(h * cosf(y), copysignf(h, x) * sinf(y))); in ccoshf()
72 return (CMPLXF(crealf(z), cimagf(z) * copysignf(1, x))); in ccoshf()
81 return (CMPLXF(y - y, x * copysignf(0, y))); in ccoshf()
84 return (CMPLXF(x * x, copysignf(0, x) * y)); in ccoshf()
Ds_cprojf.c44 return (CMPLXF(INFINITY, copysignf(0.0, cimagf(z)))); in cprojf()
Dcatrigf.c174 return (CMPLXF(copysignf(crealf(w), x), in casinhf()
175 copysignf(cimagf(w), y))); in casinhf()
191 return (CMPLXF(copysignf(rx, x), copysignf(ry, y))); in casinhf()
276 return (CMPLXF(fabsf(ry), copysignf(rx, cimagf(z)))); in cacoshf()
358 return (CMPLXF(copysignf(0, x), y + y)); in catanhf()
360 return (CMPLXF(copysignf(0, x), in catanhf()
361 copysignf(pio2_hi + pio2_lo, y))); in catanhf()
367 copysignf(pio2_hi + pio2_lo, y))); in catanhf()
386 return (CMPLXF(copysignf(rx, x), copysignf(ry, y))); in catanhf()
Ds_copysignf.c29 copysignf(float x, float y) in copysignf() function
Ds_ctanhf.c60 copysignf(0, isinf(y) ? y : sinf(y) * cosf(y)))); in ctanhf()
68 return (CMPLXF(copysignf(1, x), in ctanhf()
Ds_csinhf.c68 return (CMPLXF(copysignf(h, x) * cosf(y), h * sinf(y))); in csinhf()
72 return (CMPLXF(crealf(z) * copysignf(1, x), cimagf(z))); in csinhf()
/bionic/tests/
Dmath_test.cpp1321 TEST(MATH_TEST, copysignf) { in TEST() argument
1322 ASSERT_FLOAT_EQ(0.0f, copysignf(0.0f, 1.0f)); in TEST()
1323 ASSERT_FLOAT_EQ(-0.0f, copysignf(0.0f, -1.0f)); in TEST()
1324 ASSERT_FLOAT_EQ(2.0f, copysignf(2.0f, 1.0f)); in TEST()
1325 ASSERT_FLOAT_EQ(-2.0f, copysignf(2.0f, -1.0f)); in TEST()
1760 DoMathDataTest<1>(g_copysignf_intel_data, copysignf); in TEST()
/bionic/tests/headers/posix/
Dmath_h.c156 FUNCTION(copysignf, float (*f)(float, float)); in math_h()
/bionic/libc/include/
Dmath.h276 float copysignf(float __value, float __sign) __attribute_const__;
/bionic/libm/
Dlibm.map.txt65 copysignf;
/bionic/libc/tools/
Dposix-2013.txt129 copysignf