/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | erf.c | 283 int hx, ix, i; local 286 hx = ((int *) &x)[HIWORD]; 287 ix = hx & 0x7fffffff; 293 i = ((unsigned) hx >> 31) << 1; 316 if (hx >= 0) 322 if (hx >= 0) 343 if (hx >= 0) 351 int hx, ix; local 354 hx = ((int *) &x)[HIWORD]; 355 ix = hx [all...] |
/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | powl.c | 138 int hx, lx, hy, ly, ahx, ahy; local 143 hx = px[i0]; 147 ahx = hx & ~0x80000000; 152 else if (hx == 0x3fff0000 && lx == 0 && 159 sbx = (unsigned) hx >> 31;
|
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | k_atan2.c | 459 int ix, iy, hx, hy, lx, ly; local 465 hx = ((int *) &x)[HIWORD]; 467 ix = hx & ~0x80000000; 474 if (hx >= 0) { /* ATAN2(+-finite, +inf) is +-0 */ 485 } else if (hx > 0) { /* ATAN2(+-INF,+INF) = +-pi/4 */ 494 if (hx >= 0) /* ATAN2(+-0, +(0 <= x <= inf)) is +-0 */ 508 if (hx < 0) { 541 if (hx < 0) {
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | fmal.c | 97 int hx, hy, hz, ex, ey, ez, exy, sxy, sz, e, ibit; local 105 hx = xx.i[0] & ~0x80000000; 113 if (hx >= 0x7fff0000) { 114 if ((hx & 0xffff) | xx.i[1] | xx.i[2] | xx.i[3]) { 115 if (!(hx & 0x8000)) { 125 } else if (hx == 0) { 262 ex = hx >> 16; 263 hx &= 0xffff; 265 if (hx | (xx.i[1] & 0xfffe0000)) { 268 hx [all...] |
H A D | tgammaf.c | 456 int i, j, k, ix, hx, xk; local 458 hx = *(int *) &xf; 459 ix = hx & 0x7fffffff; 466 return (xf * ((hx < 0)? 0.0F : xf)); /* +-Inf or NaN */ 468 if (hx > 0x420C290F) /* x > 35.040096283... overflow */ 471 if (hx >= 0x41000000) /* x >= 8 */ 474 if (hx > 0) { /* 0 < x < 8 */
|
H A D | tgamma.c | 1535 int i, j, k, m, ix, hx, xk; local 1538 hx = __HI(x); 1540 ix = hx & 0x7fffffff; 1547 return (x * ((hx < 0)? 0.0 : x)); 1548 if (hx > 0x406573fa || /* x > 171.62... overflow to +inf */ 1549 (hx == 0x406573fa && lx > 0xE561F647)) { 1553 if (hx >= 0x40200000) { /* x >= 8 */ 1559 if (hx > 0) { /* 0 < x < 8 */ 1678 hx = __HI(z); 1679 i = hx [all...] |
H A D | tgammal.c | 1013 int i, j, m, ix, hx, xk; local 1016 hx = H0_WORD(x); 1018 ix = hx & 0x7fffffff; 1024 return (x * ((hx < 0)? zero : x)); /* Inf or NaN */ 1027 if (hx >= 0x40020000) { /* x >= 8 */ 1033 if (hx > 0) { /* 0 < x < 8 */
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vatan2f.c | 59 int i, k0 = 0, k1, k2, hx, sx, sy; local 72 hx = *(int*)x; 77 sx = hx & 0x80000000; 78 hx &= ~0x80000000; 80 if (hy0 > hx) 84 i = hx; 85 hx = hy0; 122 if (hx >= 0x7f800000 || hx - hy0 >= 0x0c800000) 124 if (hx > [all...] |
H A D | __vcos.c | 534 unsigned hx; local 542 hx = HI(x); 543 xsb0 = hx >> 31; 544 hx &= ~0x80000000; 545 if (hx > 0x413921fb) /* (1.6471e+06) Too big: leave it. */ 547 if (hx >= 0x7ff00000) /* Inf or NaN */ 570 hx = HI(x); 571 xsb1 = hx >> 31; 572 hx &= ~0x80000000; 573 if (hx > [all...] |
H A D | __vcosbig_ultra3.c | 106 unsigned hx; local 110 hx = HI(x); 111 xsb0 = hx >> 31; 112 hx &= ~0x80000000; 113 if (hx <= pthresh || hx > 0x413921fb) 115 if (hx > 0x413921fb && hx < 0x7ff00000) 133 hx = HI(x); 134 xsb1 = hx >> 3 [all...] |
H A D | __vsin.c | 513 unsigned hx; local 517 hx = HI(x); 518 xsb0 = hx >> 31; 519 hx &= ~0x80000000; 520 if (hx < 0x3e400000) 531 if (hx > 0x413921fb) 533 if (hx >= 0x7ff00000) 556 hx = HI(x); 557 xsb1 = hx >> 31; 558 hx [all...] |
H A D | __vsinbig_ultra3.c | 106 unsigned hx; local 110 hx = HI(x); 111 xsb0 = hx >> 31; 112 hx &= ~0x80000000; 113 if (hx <= pthresh || hx > 0x413921fb) 115 if (hx > 0x413921fb && hx < 0x7ff00000) 133 hx = HI(x); 134 xsb1 = hx >> 3 [all...] |
H A D | __vsincos.c | 726 unsigned hx; local 733 hx = HI(x); 734 xsb0 = hx >> 31; 735 hx &= ~0x80000000; 736 if (hx <= 0x3fe921fb) /* Done above. */ 746 if (hx > 0x413921fb) /* (1.6471e+06) Too big: leave it. */ 748 if (hx >= 0x7ff00000) /* Inf or NaN */ 776 hx = HI(x); 777 xsb1 = hx >> 31; 778 hx [all...] |
H A D | __vpow.c | 518 hx = HI(px); \ 522 sx = hx >> 31; \ 524 hx &= 0x7fffffff; \ 533 if (hx > 0x7ff00000 || (hx == 0x7ff00000 && lx != 0)) /* |X| = Nan */ \ 535 else if ((hx | lx) == 0 || (hx == 0x7ff00000 && lx == 0)) /* X = 0 or Inf */ \ 537 HI(pz) = hx; \ 553 if (hx >= 0x7ff00000 || exp >= 0x43e) /* X=Inf,Nan or |Y|>2^63,Inf,Nan */ \ 556 if (hx > 696 unsigned hx, lx, sx, hy, ly, sy; local 719 unsigned hx = HI(px); local 1143 unsigned hx, hx0, hy, ly, sy; local [all...] |