/src/lib/libm/ld128/ |
s_cospil.c | 49 long double ai, ar, ax, c; local in function:cospil 51 ax = fabsl(x); 53 if (ax <= 1) { 54 if (ax < 0.25) { 55 if (ax < 0x1p-60) { 59 return (__kernel_cospil(ax)); 62 if (ax < 0.5) 63 c = __kernel_sinpil(0.5 - ax); 64 else if (ax < 0.75) { 65 if (ax == 0.5 [all...] |
s_sinpil.c | 49 long double ai, ar, ax, hi, lo, s; local in function:sinpil 51 ax = fabsl(x); 53 if (ax < 1) { 54 if (ax < 0.25) { 55 if (ax < 0x1p-60) { 66 s = __kernel_sinpil(ax); 70 if (ax < 0.5) 71 s = __kernel_cospil(0.5 - ax); 72 else if (ax < 0.75) 73 s = __kernel_cospil(ax - 0.5) [all...] |
s_tanpil.c | 72 long double ai, ar, ax, hi, lo, t; local in function:tanpil 75 ax = fabsl(x); 77 if (ax < 1) { 78 if (ax < 0.5) { 79 if (ax < 0x1p-60) { 89 t = __kernel_tanpil(ax); 90 } else if (ax == 0.5) 93 t = -__kernel_tanpil(1 - ax); 97 if (ax < 0x1p112) { 98 /* Split ax = ai + ar with 0 <= ar < 1. * [all...] |
e_powl.c | 148 long double z, ax, z_h, z_l, p_h, p_l; local in function:powl 237 ax = fabsl (x); 243 z = ax; /*x is +-0,+-inf,+-1 */ 287 ax *= two113; 289 o.value = ax; 307 o.value = ax; 309 ax = o.value; 312 u = ax - bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ 313 v = one / (ax + bp[k]); 321 /* t_h=ax+bp[k] High * [all...] |
/src/lib/libm/src/ |
s_cospi.c | 84 double ax, c; local in function:cospi 89 INSERT_WORDS(ax, ix, lx); 94 if ((int)ax == 0) 97 return (__kernel_cospi(ax)); 101 c = __kernel_sinpi(0.5 - ax); 103 if (ax == 0.5) 105 c = -__kernel_sinpi(ax - 0.5); 107 c = -__kernel_cospi(1 - ax); 112 FFLOOR(x, jj0, ix, lx); /* Integer part of ax. */ 113 ax -= x [all...] |
s_cospif.c | 50 float ax, c; local in function:cospif 55 SET_FLOAT_WORD(ax, ix); 61 if ((int)ax == 0) 64 return (__kernel_cospif(ax)); 68 c = __kernel_sinpif(0.5F - ax); 72 c = -__kernel_sinpif(ax - 0.5F); 74 c = -__kernel_cospif(1 - ax); 79 FFLOORF(x, jj0, ix); /* Integer part of ax. */ 80 ax -= x; 81 GET_FLOAT_WORD(ix, ax); [all...] |
s_sinpi.c | 86 double ax, hi, lo, s; local in function:sinpi 91 INSERT_WORDS(ax, ix, lx); 111 s = __kernel_sinpi(ax); 116 s = __kernel_cospi(0.5 - ax); 118 s = __kernel_cospi(ax - 0.5); 120 s = __kernel_sinpi(1 - ax); 125 FFLOOR(x, j0, ix, lx); /* Integer part of ax. */ 126 ax -= x; 127 EXTRACT_WORDS(ix, lx, ax); 134 s = __kernel_sinpi(ax); [all...] |
s_sinpif.c | 56 float ax, hi, lo, s; local in function:sinpif 61 SET_FLOAT_WORD(ax, ix); 76 s = __kernel_sinpif(ax); 81 s = __kernel_cospif(0.5F - ax); 83 s = __kernel_cospif(ax - 0.5F); 85 s = __kernel_sinpif(1 - ax); 90 FFLOORF(x, j0, ix); /* Integer part of ax. */ 91 ax -= x; 92 GET_FLOAT_WORD(ix, ax); 99 s = __kernel_sinpif(ax); [all...] |
s_tanpi.c | 117 double ax, hi, lo, odd, t; local in function:tanpi 122 INSERT_WORDS(ax, ix, lx); 141 t = __kernel_tanpi(ax); 142 } else if (ax == 0.5) 145 t = - __kernel_tanpi(1 - ax); 150 FFLOOR(x, j0, ix, lx); /* Integer part of ax. */ 152 ax -= x; 153 EXTRACT_WORDS(ix, lx, ax); 156 t = ix == 0 ? copysign(0, odd) : __kernel_tanpi(ax); 157 else if (ax == 0.5 [all...] |
s_tanpif.c | 65 float ax, hi, lo, odd, t; local in function:tanpif 70 SET_FLOAT_WORD(ax, ix); 84 t = __kernel_tanpif(ax); 88 t = - __kernel_tanpif(1 - ax); 93 FFLOORF(x, jj0, ix); /* Integer part of ax. */ 95 ax -= x; 96 GET_FLOAT_WORD(ix, ax); 99 t = ix == 0 ? copysignf(0, odd) : __kernel_tanpif(ax); 103 t = - __kernel_tanpif(1 - ax);
|
s_log1p.c | 112 int32_t k,hx,hu,ax; local in function:__weak_alias 117 ax = hx&0x7fffffff; 121 if(ax>=0x3ff00000) { /* x <= -1.0 */ 125 if(ax<0x3e200000) { /* |x| < 2**-29 */ 127 &&ax<0x3c900000) /* |x| < 2**-54 */
|
s_clogl.c | 57 long double ax, ax2h, ax2l, axh, axl, ay, ay2h, ay2l, ayh, ayl; local in function:clogl 69 ax = fabsl(x); 71 if (ax < ay) { 72 t = ax; 73 ax = ay; 77 GET_LDBL_EXPSIGN(hax, ax); 86 /* Avoid spurious underflow, and reduce inaccuracies when ax is 1. */ 87 if (ax == 1) { 93 /* Avoid underflow when ax is not small. Also handle zero args. */ 95 RETURNI(CMPLXL(logl(ax), v)) [all...] |
s_log1pf.c | 45 int32_t k,hx,hu,ax; local in function:__weak_alias 50 ax = hx&0x7fffffff; 54 if(ax>=0x3f800000) { /* x <= -1.0 */ 58 if(ax<0x31000000) { /* |x| < 2**-29 */ 60 &&ax<0x24800000) /* |x| < 2**-54 */
|
e_pow.c | 102 double z,ax,z_h,z_l,p_h,p_l; local in function:__ieee754_pow 163 ax = fabs(x); 167 z = ax; /*x is +-0,+-inf,+-1*/ 202 t = ax-one; /* t has 20 trailing zeros */ 214 {ax *= two53; n -= 53; GET_HIGH_WORD(ix,ax); } 222 SET_HIGH_WORD(ax,ix); 225 u = ax-bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ 226 v = one/(ax+bp[k]); 230 /* t_h=ax+bp[k] High * [all...] |
e_powf.c | 61 float z,ax,z_h,z_l,p_h,p_l; local in function:__ieee754_powf 114 ax = fabsf(x); 117 z = ax; /*x is +-0,+-inf,+-1*/ 143 t = ax-1; /* t has 20 trailing zeros */ 156 {ax *= two24; n -= 24; GET_FLOAT_WORD(ix,ax); } 164 SET_FLOAT_WORD(ax,ix); 167 u = ax-bp[k]; /* bp[0]=1.0, bp[1]=1.5 */ 168 v = one/(ax+bp[k]); 173 /* t_h=ax+bp[k] High * [all...] |
/src/lib/libm/ld80/ |
s_cospil.c | 48 long double ax, c; local in function:cospil 55 INSERT_LDBL80_WORDS(ax, ix, lx); 65 RETURNI(__kernel_cospil(ax)); 69 c = __kernel_sinpil(0.5 - ax); 71 if (ax == 0.5) 73 c = -__kernel_sinpil(ax - 0.5); 75 c = -__kernel_cospil(1 - ax); 80 FFLOORL80(x, j0, ix, lx); /* Integer part of ax. */ 81 ax -= x; 82 EXTRACT_LDBL80_WORDS(ix, lx, ax); [all...] |
s_sinpil.c | 50 long double ax, hi, lo, s; local in function:sinpil 57 INSERT_LDBL80_WORDS(ax, ix, lx); 74 s = __kernel_sinpil(ax); 79 s = __kernel_cospil(0.5 - ax); 81 s = __kernel_cospil(ax - 0.5); 83 s = __kernel_sinpil(1 - ax); 88 FFLOORL80(x, j0, ix, lx); /* Integer part of ax. */ 89 ax -= x; 90 EXTRACT_LDBL80_WORDS(ix, lx, ax); 97 s = __kernel_sinpil(ax); [all...] |
s_tanpil.c | 71 long double ax, hi, lo, odd, t; local in function:tanpil 78 INSERT_LDBL80_WORDS(ax, ix, lx); 95 t = __kernel_tanpil(ax); 96 } else if (ax == 0.5) 99 t = -__kernel_tanpil(1 - ax); 104 FFLOORL80(x, j0, ix, lx); /* Integer part of ax. */ 106 ax -= x; 107 EXTRACT_LDBL80_WORDS(ix, lx, ax); 110 t = ix == 0 ? copysignl(0, odd) : __kernel_tanpil(ax); 111 else if (ax == 0.5L [all...] |
s_logl.c | 557 int16_t ax, hx; local in function:log1pl 561 ax = hx & 0x7fff; 562 if (ax >= 0x3fff) { /* x <= -1, or x neg NaN */ 563 if (ax == 0x3fff && lx == 0x8000000000000000ULL) 568 if (ax <= 0x3fbe) { /* |x| < 2**-64 */
|
/src/lib/libm/complex/ |
catrig.c | 300 double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; local in function:casinh 306 ax = fabs(x); 327 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { 343 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) 346 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); 381 double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; local in function:cacos 390 ax = fabs(x); 411 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { 428 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) 431 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x) 481 double ax, ay, t; local in function:clog_for_large_values 592 double x, y, ax, ay, rx, ry; local in function:catanh [all...] |
catrigf.c | 161 float x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; local in function:casinhf 167 ax = fabsf(x); 180 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { 194 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) 197 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); 216 float x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; local in function:cacosf 225 ax = fabsf(x); 238 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { 252 if (ax < SQRT_6_EPSILON / 4 && ay < SQRT_6_EPSILON / 4) 255 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x) 294 float ax, ay, t; local in function:clog_for_large_values 354 float x, y, ax, ay, rx, ry; local in function:catanhf [all...] |
catrigl.c | 194 long double x, y, ax, ay, rx, ry, B, sqrt_A2my2, new_y; local in function:casinhl 200 ax = fabsl(x); 212 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { 225 if (ax < SQRT_6_EPSILON/4 && ay < SQRT_6_EPSILON/4) 228 do_hard_work(ax, ay, &rx, &B_is_usable, &B, &sqrt_A2my2, &new_y); 246 long double x, y, ax, ay, rx, ry, B, sqrt_A2mx2, new_x; local in function:cacosl 255 ax = fabsl(x); 267 if (ax > RECIP_EPSILON || ay > RECIP_EPSILON) { 281 if (ax < SQRT_6_EPSILON/4 && ay < SQRT_6_EPSILON/4) 284 do_hard_work(ay, ax, &ry, &B_is_usable, &B, &sqrt_A2mx2, &new_x) 323 long double ax, ay, t; local in function:clog_for_large_values 382 long double x, y, ax, ay, rx, ry; local in function:catanhl [all...] |
/src/sys/arch/i386/pci/ |
pcibios.c | 349 uint16_t ax, bx, cx; local in function:pcibios_get_status 357 : "=a" (ax), "=b" (bx), "=c" (cx), "=d" (edx) 360 rv = pcibios_return_code(ax, "pcibios_get_status"); 370 *mech1 = ax & 1; 371 *mech2 = ax & (1 << 1); 372 *scmech1 = ax & (1 << 4); 373 *scmech2 = ax & (1 << 5); 385 uint16_t ax, bx; local in function:pcibios_get_intr_routing 404 : "=a" (ax), "=b" (bx) 408 rv = pcibios_return_code(ax, "pcibios_get_intr_routing") 604 uint16_t ax, bx, cx; local in function:pcibios_biosroute [all...] |
/src/sys/dev/ |
cgd_crypto.c | 216 struct aesxts *ax; local in function:cgd_cipher_aes_xts_init 228 ax = kmem_zalloc(sizeof(*ax), KM_SLEEP); 235 aes_setenckey128(&ax->ax_enckey, key); 236 aes_setdeckey128(&ax->ax_deckey, key); 237 aes_setenckey128(&ax->ax_tweakkey, key2); 238 ax->ax_nrounds = AES_128_NROUNDS; 241 aes_setenckey256(&ax->ax_enckey, key); 242 aes_setdeckey256(&ax->ax_deckey, key); 243 aes_setenckey256(&ax->ax_tweakkey, key2) 254 struct aesxts *ax = cookie; local in function:cgd_cipher_aes_xts_destroy 264 struct aesxts *ax = cookie; local in function:cgd_cipher_aes_xts [all...] |
/src/sys/dev/usb/ |
auvitek_video.c | 546 struct auvitek_xfer *ax = &sc->sc_ax; local in function:auvitek_start_xfer 559 uframe_len = ax->ax_maxpktlen; 563 ax->ax_nframes = nframes; 564 ax->ax_uframe_len = uframe_len; 566 struct auvitek_isoc *isoc = &ax->ax_i[i]; 567 isoc->i_ax = ax; 573 err = usbd_open_pipe(sc->sc_isoc_iface, ax->ax_endpt, 574 USBD_EXCLUSIVE_USE, &ax->ax_pipe); 582 struct auvitek_isoc *isoc = &ax->ax_i[i]; 584 int error = usbd_create_xfer(ax->ax_pipe 601 struct auvitek_xfer *ax = &sc->sc_ax; local in function:auvitek_stop_xfer 640 struct auvitek_xfer *ax = &sc->sc_ax; local in function:auvitek_isoc_start 659 struct auvitek_xfer *ax = isoc->i_ax; local in function:auvitek_isoc_start1 691 struct auvitek_xfer *ax = isoc->i_ax; local in function:auvitek_isoc_intr [all...] |