Searched refs:cpack (Results 1 – 9 of 9) sorted by relevance
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_csinh.c | 65 return (cpack(sinh(x), y)); in csinh() 67 return (cpack(sinh(x) * cos(y), cosh(x) * sin(y))); in csinh() 73 return (cpack(copysign(h, x) * cos(y), h * sin(y))); in csinh() 76 z = __ldexp_cexp(cpack(fabs(x), y), -1); in csinh() 77 return (cpack(creal(z) * copysign(1, x), cimag(z))); in csinh() 81 return (cpack(h * cos(y), h * h * sin(y))); in csinh() 95 return (cpack(copysign(0, x * (y - y)), y - y)); in csinh() 104 return (cpack(x, y)); in csinh() 105 return (cpack(x, copysign(0, y))); in csinh() 117 return (cpack(y - y, x * (y - y))); in csinh() [all …]
|
D | s_ccosh.c | 65 return (cpack(cosh(x), x * y)); in ccosh() 67 return (cpack(cosh(x) * cos(y), sinh(x) * sin(y))); in ccosh() 73 return (cpack(h * cos(y), copysign(h, x) * sin(y))); in ccosh() 76 z = __ldexp_cexp(cpack(fabs(x), y), -1); in ccosh() 77 return (cpack(creal(z), cimag(z) * copysign(1, x))); in ccosh() 81 return (cpack(h * h * cos(y), h * sin(y))); in ccosh() 95 return (cpack(y - y, copysign(0, x * (y - y)))); in ccosh() 105 return (cpack(x * x, copysign(0, x) * y)); in ccosh() 106 return (cpack(x * x, copysign(0, (x + x) * y))); in ccosh() 118 return (cpack(y - y, x * (y - y))); in ccosh() [all …]
|
D | s_cexp.c | 53 return (cpack(exp(x), y)); in cexp() 57 return (cpack(cos(y), sin(y))); in cexp() 62 return (cpack(y - y, y - y)); in cexp() 65 return (cpack(0.0, 0.0)); in cexp() 68 return (cpack(x, y - y)); in cexp() 87 return (cpack(exp_x * cos(y), exp_x * sin(y))); in cexp()
|
D | s_csqrt.c | 61 return (cpack(0, b)); in csqrt() 63 return (cpack(INFINITY, b)); in csqrt() 66 return (cpack(a, t)); /* return NaN + NaN i */ in csqrt() 76 return (cpack(fabs(b - b), copysign(a, b))); in csqrt() 78 return (cpack(a, copysign(b - b, b))); in csqrt() 97 result = cpack(t, b / (2 * t)); in csqrt() 100 result = cpack(fabs(b) / (2 * t), copysign(t, b)); in csqrt()
|
D | s_ctanh.c | 105 return (cpack(x, (y == 0 ? y : x * y))); in ctanh() 107 return (cpack(x, copysign(0, isinf(y) ? y : sin(y) * cos(y)))); in ctanh() 115 return (cpack(y - y, y - y)); in ctanh() 124 return (cpack(copysign(1, x), in ctanh() 134 return (cpack((beta * rho * s) / denom, t / denom)); in ctanh() 142 z = ctanh(cpack(-cimag(z), creal(z))); in ctan() 143 return (cpack(cimag(z), -creal(z))); in ctan()
|
D | s_conj.c | 37 return (cpack(creal(z), -cimag(z))); in conj()
|
D | s_cproj.c | 42 return (cpack(INFINITY, copysign(0.0, cimag(z)))); in cproj()
|
D | k_exp.c | 106 return (cpack(cos(y) * exp_x * scale1 * scale2, in __ldexp_cexp()
|
D | math_private.h | 469 cpack(double x, double y) in cpack() function
|