/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_clog.c | 48 double_t ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl, sh, sl, t; in clog() local 58 ay = fabs(y); in clog() 59 if (ax < ay) { in clog() 61 ax = ay; in clog() 62 ay = t; in clog() 67 GET_HIGH_WORD(hay, ay); in clog() 77 return (CMPLX((ay / 2) * ay, v)); in clog() 78 return (CMPLX(log1p(ay * ay) / 2, v)); in clog() 82 if (kx - ky > MANT_DIG || ay == 0) in clog() 107 t = (double)(ay * (0x1p27 + 1)); in clog() [all …]
|
D | s_clogl.c | 62 long double ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl; in clogl() local 75 ay = fabsl(y); in clogl() 76 if (ax < ay) { in clogl() 78 ax = ay; in clogl() 79 ay = t; in clogl() 84 GET_LDBL_EXPSIGN(hay, ay); in clogl() 94 RETURNI(CMPLXL((ay / 2) * ay, v)); in clogl() 95 RETURNI(CMPLXL(log1pl(ay * ay) / 2, v)); in clogl() 99 if (kx - ky > MANT_DIG || ay == 0) in clogl() 124 t = (long double)(ay * (MULT_REDUX + 1)); in clogl() [all …]
|
D | s_clogf.c | 48 float_t ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl, sh, sl, t; in clogf() local 58 ay = fabsf(y); in clogf() 59 if (ax < ay) { in clogf() 61 ax = ay; in clogf() 62 ay = t; in clogf() 67 GET_FLOAT_WORD(hay, ay); in clogf() 77 return (CMPLXF((ay / 2) * ay, v)); in clogf() 78 return (CMPLXF(log1pf(ay * ay) / 2, v)); in clogf() 107 t = (float)(ay * (0x1p12F + 1)); in clogf() 108 ayh = (float)(ay - t) + t; in clogf() [all …]
|
D | catrigl.c | 169 long double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinhl() local 176 ay = fabsl(y); in casinhl() 188 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in casinhl() 202 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in casinhl() 205 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinhl() 225 long double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacosl() local 235 ay = fabsl(y); in cacosl() 247 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in cacosl() 261 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in cacosl() 264 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x); in cacosl() [all …]
|
D | catrig.c | 279 double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinh() local 286 ay = fabs(y); in casinh() 306 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in casinh() 322 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in casinh() 325 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinh() 360 double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacos() local 370 ay = fabs(y); in cacos() 390 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in cacos() 407 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in cacos() 410 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x); in cacos() [all …]
|
D | catrigf.c | 150 float x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; in casinhf() local 157 ay = fabsf(y); in casinhf() 169 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in casinhf() 183 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in casinhf() 186 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); in casinhf() 205 float x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; in cacosf() local 215 ay = fabsf(y); in cacosf() 227 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { in cacosf() 241 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) in cacosf() 244 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x); in cacosf() [all …]
|