/illumos-gate/usr/src/lib/libm/common/R/ |
H A D | acoshf.c | 37 int hx; local 39 hx = *(int *)&x; 40 if (hx < 0x3f800000 || hx > 0x7f800000) /* x < 1 or x is nan */
|
H A D | sinhf.c | 37 int hx, ix; local 39 hx = *(int *)&x; 40 ix = hx & ~0x80000000; 46 s = (hx < 0)? -1.0e100 : 1.0e100;
|
H A D | __sinf.c | 72 int hx; local 74 hx = ((int *) &x)[HIWORD]; /* hx = leading x */ 75 if ((hx & ~0x80000000) < 0x3f100000) { /* if |x| < 2**-14 */
|
H A D | atan2pif.c | 35 int ix, iy, hx, hy; local 39 hx = ix & ~0x80000000; 41 if (hx > 0x7f800000 || hy > 0x7f800000) /* x or y is nan */ 43 if ((hx | hy) == 0) {
|
H A D | log10f.c | 37 int hx, ix; local 40 hx = *(int *)&x; 41 ix = hx & ~0x80000000; 50 if (hx < 0) {
|
H A D | scalbf.c | 35 int ix, iy, hx, hy, n; local 39 hx = ix & ~0x80000000; 42 if (hx > 0x7f800000 || hy >= 0x7f800000) {
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | acosh.c | 60 int hx; local 62 hx = ((int *) &x)[HIWORD]; 63 if (hx < 0x3ff00000) { /* x < 1 */ 66 return (hx >= 0xfff80000 ? x : (x - x) / (x - x)); 73 } else if (hx >= 0x41b00000) { 75 if (hx >= 0x7ff00000) { /* x is inf of NaN */ 77 return (hx >= 0x7ff80000 ? x : x + x); 84 } else if (((hx - 0x3ff00000) | ((int *) &x)[LOWORD]) == 0) { 86 } else if (hx > 0x40000000) {
|
H A D | copysign.c | 36 int hx, hy; local 38 hx = ((int *) &x)[HIWORD]; 40 return (hx ^ hy) >= 0 ? (x) : (-x);
|
H A D | remainder.c | 50 int ix, hx, hp; local 53 hx = ix & ~0x80000000; 58 if (hx > 0x7ff00000 || (hx == 0x7ff00000 && ((int *)&x)[LOWORD] != 0)) 61 if ((hp | ((int *)&p)[LOWORD]) == 0 || hx == 0x7ff00000)
|
H A D | rint.c | 59 int ix, hx; local 62 hx = ix & ~0x80000000; 64 if (hx >= 0x43300000)
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_scl.c | 46 int hx; local 49 hx = xx.i[0] & ~0x80000000; 51 if (hx < 0x10000) { /* x is zero or subnormal */ 52 if ((hx | xx.i[1] | xx.i[2] | xx.i[3]) == 0) 56 while (hx == 0 && xx.i[1] < 0x10000) { 57 hx = xx.i[1]; 63 while (hx < 0x10000) { 64 hx = (hx << 1) | (xx.i[1] >> 31); 70 xx.i[0] = hx | (x 103 int hx; local [all...] |
/illumos-gate/usr/src/lib/libm/common/complex/ |
H A D | cprojf.c | 42 int ix, iy, hx, hy; local 46 hx = THE_WORD(x); 48 ix = hx & 0x7fffffff;
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | frexpf.c | 40 unsigned hx; local 44 hx = xx.i & ~0x80000000; 46 if (hx >= 0x7f800000) { /* x is infinite or NaN */ 52 if (hx < 0x00800000) { /* x is subnormal or zero */ 53 if (hx == 0) { 59 xx.f = (int) xx.i < 0 ? -(int) hx : (int) hx; 60 hx = xx.i & ~0x80000000; 66 *exp = e + (hx >> 23) - 0x7e;
|
H A D | frexpl.c | 42 unsigned hx; local 46 hx = xx.i[0] & ~0x80000000; 48 if (hx >= 0x7fff0000) { /* x is infinite or NaN */ 54 if (hx < 0x00010000) { /* x is subnormal or zero */ 55 if ((hx | xx.i[1] | xx.i[2] | xx.i[3]) == 0) { 62 while ((hx | (xx.i[1] & 0xffff0000)) == 0) { 63 hx = xx.i[1]; 69 while (hx < 0x10000) { 70 hx = (hx << 93 unsigned hx; local [all...] |
H A D | llrint.c | 59 unsigned hx; local 62 hx = xx.i[HIWORD] & ~0x80000000; 64 if (hx < 0x43300000) { /* |x| < 2^52 */
|
H A D | llrintf.c | 49 unsigned hx; local 52 hx = xx.i & ~0x80000000; 54 if (hx < 0x4b000000) { /* |x| < 2^23 */
|
H A D | llround.c | 53 unsigned hx, sx, i; local 56 hx = xx.i[HIWORD] & ~0x80000000; 59 if (hx < 0x43300000) { /* |x| < 2^52 */ 61 if (hx < 0x3ff00000) { 62 if (hx >= 0x3fe00000) 68 if (hx < 0x41300000) { 69 i = 1 << (0x412 - (hx >> 20)); 73 i = 1 << (0x432 - (hx >> 20));
|
H A D | llroundf.c | 44 unsigned hx, sx, i; local 47 hx = xx.i & ~0x80000000; 50 if (hx < 0x4b000000) { /* |x| < 2^23 */ 52 if (hx < 0x3f800000) { 53 if (hx >= 0x3f000000) 59 i = 1 << (0x95 - (hx >> 23));
|
H A D | lrint.c | 57 unsigned hx; local 60 hx = xx.i[HIWORD] & ~0x80000000; 61 if (hx < 0x43300000) { /* |x| < 2^52 */
|
H A D | lrintf.c | 47 unsigned hx; local 50 hx = xx.i & ~0x80000000; 51 if (hx < 0x4b000000) { /* |x| < 2^23 */
|
H A D | lround.c | 50 unsigned hx, sx, i; local 53 hx = xx.i[HIWORD] & ~0x80000000; 55 if (hx < 0x43300000) { /* |x| < 2^52 */ 56 if (hx < 0x3ff00000) { /* |x| < 1 */ 57 if (hx >= 0x3fe00000) 63 if (hx < 0x41300000) { 64 i = 1 << (0x412 - (hx >> 20)); 68 i = 1 << (0x432 - (hx >> 20));
|
H A D | lroundf.c | 42 unsigned hx, sx, i; local 45 hx = xx.i & ~0x80000000; 47 if (hx < 0x4b000000) { /* |x| < 2^23 */ 48 if (hx < 0x3f800000) { /* |x| < 1 */ 49 if (hx >= 0x3f000000) 55 i = 1 << (0x95 - (hx >> 23));
|
H A D | nearbyintf.c | 41 unsigned hx, sx, i, frac; local 46 hx = xx.i & ~0x80000000; 49 if (hx >= 0x4b000000) { /* x is nan, inf, or already integral */ 50 if (hx > 0x7f800000) /* x is nan */ 53 } else if (hx == 0) /* x is zero */ 64 if (hx < 0x3f800000) { 65 if (rm == FE_UPWARD || (rm == FE_TONEAREST && hx > 0x3f000000)) 73 i = 1 << (0x96 - (hx >> 23)); 74 frac = hx & (i - 1); 78 hx [all...] |
H A D | round.c | 40 unsigned hx, sx, i; local 43 hx = xx.i[HIWORD] & ~0x80000000; 45 if (hx < 0x43300000) { /* |x| < 2^52 */ 46 if (hx < 0x3ff00000) { /* |x| < 1 */ 47 if (hx >= 0x3fe00000) 53 if (hx < 0x41300000) { 54 i = 1 << (0x412 - (hx >> 20)); 58 i = 1 << (0x432 - (hx >> 20)); 65 } else if (hx < 0x7ff00000) 69 return (hx > [all...] |
H A D | roundf.c | 40 unsigned hx, sx, i; local 43 hx = xx.i & ~0x80000000; 45 if (hx < 0x4b000000) { /* |x| < 2^23 */ 46 if (hx < 0x3f800000) { /* |x| < 1 */ 47 if (hx >= 0x3f000000) 53 i = 1 << (0x95 - (hx >> 23)); 56 } else if (hx < 0x7f800000) /* |x| is integral */ 60 return (hx > 0x7f800000 ? x * x : x + x);
|