Lines Matching refs:rx
109 do_hard_work(long double x, long double y, long double *rx, int *B_is_usable, in do_hard_work() argument
124 *rx = sqrtl(x); in do_hard_work()
127 *rx = log1pl(Am1 + sqrtl(Am1 * (A + 1))); in do_hard_work()
129 *rx = x / sqrtl((1 - y) * (1 + y)); in do_hard_work()
131 *rx = log1pl((y - 1) + sqrtl((y - 1) * (y + 1))); in do_hard_work()
134 *rx = logl(A + sqrtl(A * A - 1)); in do_hard_work()
169 long double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinhl() local
205 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinhl()
210 return (CMPLXL(copysignl(rx, x), copysignl(ry, y))); in casinhl()
225 long double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacosl() local
249 rx = fabsl(cimagl(w)); in cacosl()
253 return (CMPLXL(rx, ry)); in cacosl()
267 rx = acosl(B); in cacosl()
269 rx = acosl(-B); in cacosl()
272 rx = atan2l(sqrt_A2mx2, new_x); in cacosl()
274 rx = atan2l(sqrt_A2mx2, -new_x); in cacosl()
278 return (CMPLXL(rx, ry)); in cacosl()
285 long double rx, ry; in cacoshl() local
288 rx = creall(w); in cacoshl()
290 if (isnan(rx) && isnan(ry)) in cacoshl()
291 return (CMPLXL(ry, rx)); in cacoshl()
292 if (isnan(rx)) in cacoshl()
293 return (CMPLXL(fabsl(ry), rx)); in cacoshl()
296 return (CMPLXL(fabsl(ry), copysignl(rx, cimagl(z)))); in cacoshl()
364 long double x, y, ax, ay, rx, ry; in catanhl() local
396 rx = (m_ln2 - logl(ay)) / 2; in catanhl()
398 rx = log1pl(4 * ax / sum_squares(ax - 1, ay)) / 4; in catanhl()
407 return (CMPLXL(copysignl(rx, x), copysignl(ry, y))); in catanhl()