Searched refs:copysignf (Results 1 - 9 of 9) sorted by relevance

/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_csqrtf.c67 return (cpackf(fabsf(b - b), copysignf(a, b)));
69 return (cpackf(a, copysignf(b - b, b)));
86 return (cpackf(fabsf(b) / (2.0 * t), copysignf(t, b)));
H A Ds_scalbnf.c46 if (k > 0xfe) return huge*copysignf(huge,x); /* overflow */
51 return huge*copysignf(huge,x); /*overflow*/
52 else return tiny*copysignf(tiny,x); /*underflow*/
H A Ds_copysignf.c20 * copysignf(float x, float y)
21 * copysignf(x,y) returns a value with the magnitude of x and
29 copysignf(float x, float y) function
H A Ds_cprojf.c42 return (cpackf(INFINITY, copysignf(0.0, cimagf(z))));
H A Ds_ccoshf.c66 return (cpackf(h * cosf(y), copysignf(h, x) * sinf(y)));
70 return (cpackf(crealf(z), cimagf(z) * copysignf(1, x)));
79 return (cpackf(y - y, copysignf(0, x * (y - y))));
83 return (cpackf(x * x, copysignf(0, x) * y));
84 return (cpackf(x * x, copysignf(0, (x + x) * y)));
H A Ds_csinhf.c66 return (cpackf(copysignf(h, x) * cosf(y), h * sinf(y)));
70 return (cpackf(crealf(z) * copysignf(1, x), cimagf(z)));
79 return (cpackf(copysignf(0, x * (y - y)), y - y));
84 return (cpackf(x, copysignf(0, y)));
H A Ds_ctanhf.c57 copysignf(0, isinf(y) ? y : sinf(y) * cosf(y))));
65 return (cpackf(copysignf(1, x),
/bionic/tests/
H A Dmath_test.cpp1081 TEST(math, copysignf) {
1082 ASSERT_FLOAT_EQ(0.0f, copysignf(0.0f, 1.0f));
1083 ASSERT_FLOAT_EQ(-0.0f, copysignf(0.0f, -1.0f));
1084 ASSERT_FLOAT_EQ(2.0f, copysignf(2.0f, 1.0f));
1085 ASSERT_FLOAT_EQ(-2.0f, copysignf(2.0f, -1.0f));
/bionic/libm/include/
H A Dmath.h349 float copysignf(float, float) __pure2;

Completed in 99 milliseconds