/illumos-gate/usr/src/lib/libm/common/Q/ |
H A D | ieee_funcl.c | 35 int *px = (int *) &x; local 36 return ((px[0] & ~0x80000000) == 0x7fff0000 && px[1] == 0 && 37 px[2] == 0 && px[3] == 0); 42 int *px = (int *) &x; local 43 return ((unsigned) ((px[0] & 0x7fff0000) - 0x10000) < 0x7ffe0000); 48 int *px = (int *) &x; local 49 px[0] &= ~0x80000000; 50 return (px[ 55 int *px = (int *) &x; local 61 unsigned *px = (unsigned *) &x; local 67 int *px = (int *) &x; local 79 int *px = (int *) &x; local 90 int *px = (int *) &x; local 96 int *px = (int *) &x; local 102 unsigned *px = (unsigned *) &x; local [all...] |
H A D | isnanl.c | 37 int *px = (int *) &x; local 38 return ((px[0] & ~0x80000000) >= 0x7fff0000 && 39 ((px[0] & ~0xffff0000) | px[1] | px[2] | px[3]) != 0); 44 int *px = (int *) &x, t = px[2] & 0x7fff; local 46 return (t == 0x7fff && ((px[1] & ~0x80000000) | px[ [all...] |
H A D | fabsl.c | 36 int *px = (int *) &x; local 38 px[0] &= 0x7fffffff;
|
H A D | nextafterl.c | 41 #define INC(px) { \ 42 if (++px[n3] == 0) \ 43 if (++px[n2] == 0) \ 44 if (++px[n1] == 0) \ 45 ++px[n0]; \ 47 #define DEC(px) { \ 48 if (--px[n3] == 0xffffffff) \ 49 if (--px[n2] == 0xffffffff) \ 50 if (--px[n1] == 0xffffffff) \ 51 --px[n 79 int *px = (int *) &x; local [all...] |
H A D | finitel.c | 35 int *px = (int *) &x; local 36 return ((px[0] & ~0x80000000) < 0x7fff0000); 41 int *px = (int *) &x, t = px[2] & 0x7fff; local 43 return (t != 0x7fff && ((px[1] & 0x80000000) != 0 || t == 0));
|
H A D | copysignl.c | 36 int *px = (int *) &x; local 39 px[HIXWORD] = (px[HIXWORD] & ~XSGNMSK) | (py[HIXWORD] & XSGNMSK);
|
/illumos-gate/usr/src/lib/libm/common/LD/ |
H A D | isnanl.c | 37 int *px = (int *) &x; local 38 return ((px[0] & ~0x80000000) >= 0x7fff0000 && 39 ((px[0] & ~0xffff0000) | px[1] | px[2] | px[3]) != 0); 44 int *px = (int *) &x, t = px[2] & 0x7fff; local 46 return ((t == 0x7fff && ((px[1] & ~0x80000000) | px[ [all...] |
H A D | nextafterl.c | 41 #define INC(px) { \ 42 if (++px[n3] == 0) \ 43 if (++px[n2] == 0) \ 44 if (++px[n1] == 0) \ 45 ++px[n0]; \ 47 #define DEC(px) { \ 48 if (--px[n3] == 0xffffffff) \ 49 if (--px[n2] == 0xffffffff) \ 50 if (--px[n1] == 0xffffffff) \ 51 --px[n 79 int *px = (int *) &x; local [all...] |
H A D | finitel.c | 35 int *px = (int *) &x; local 36 return ((px[0] & ~0x80000000) < 0x7fff0000); 41 int *px = (int *) &x, t = px[2] & 0x7fff; local 43 return (t != 0x7fff && ((px[1] & 0x80000000) != 0 || t == 0));
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | fabs.c | 32 long *px = (long *) &x; local 34 px[1] &= 0x7fffffff; 36 px[0] &= 0x7fffffff;
|
H A D | _Q_dtoq.c | 35 unpacked px; local 38 _fp_unpack(&px, (int *)&x,fp_op_double); 39 _fp_pack(&px, (int *)&q,fp_op_extended);
|
H A D | _Q_itoq.c | 36 unpacked px; local 38 _fp_unpack(&px, (int *)&x,fp_op_integer); 39 _fp_pack(&px, (int *)&q,fp_op_extended);
|
H A D | _Q_qtod.c | 35 unpacked px; local 39 _fp_unpack(&px, (int *)&x,fp_op_extended); 40 _fp_pack(&px, (int *)&d,fp_op_double);
|
H A D | _Q_stoq.c | 35 unpacked px; local 38 _fp_unpack(&px, (int *)&x,fp_op_single); 39 _fp_pack(&px, (int *)&q,fp_op_extended);
|
H A D | _Q_utoq.c | 35 unpacked px; local 41 _fp_unpack(&px, (int *)&x,fp_op_integer); 42 _fp_pack(&px, (int *)&q,fp_op_extended); 45 _fp_unpack(&px, (int *)&x,fp_op_integer); 46 _fp_pack(&px, (int *)&q,fp_op_extended);
|
H A D | _Qfcompare.c | 32 _fp_compare(px, py, strict) 33 unpacked *px, *py; 41 if ((px->fpclass == fp_quiet) || (py->fpclass == fp_quiet) || 42 (px->fpclass == fp_signaling) || (py->fpclass == fp_signaling)) { 46 } else if ((px->fpclass == fp_zero) && (py->fpclass == fp_zero)) 49 else if (px->sign < py->sign) 51 else if (px->sign > py->sign) 54 if ((int) px->fpclass > (int) py->fpclass) 56 else if ((int) px->fpclass < (int) py->fpclass) 59 /* same classes */ if (px [all...] |
H A D | _Qfaddsub.c | 32 true_add(px, py, pz) 33 unpacked *px, *py, *pz; 39 if ((int) px->fpclass < (int) py->fpclass) { /* Reverse. */ 41 py = px; 42 px = pt; 45 switch (px->fpclass) { 50 *pz = *px; 54 *pz = *px; 60 if (px->exponent < py->exponent) { /* Reverse. */ 62 py = px; [all...] |
H A D | _Q_cmp.c | 35 unpacked px,py,pz; local 38 _fp_unpack(&px, (int *)&x,fp_op_extended); 40 fcc = _fp_compare(&px,&py,0); /* quiet NaN unexceptional */
|
H A D | _Q_cmpe.c | 35 unpacked px,py,pz; local 38 _fp_unpack(&px, (int *)&x,fp_op_extended); 40 fcc = _fp_compare(&px,&py,1); /* quiet NaN exceptional */
|
H A D | _Q_qtoi.c | 35 unpacked px; local 41 _fp_unpack(&px, (int *)&x,fp_op_extended); 42 _fp_pack(&px,&i,fp_op_integer);
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | nexttowardl.c | 41 #define INC(px) { \ 42 if (++px[n3] == 0) \ 43 if (++px[n2] == 0) \ 44 if (++px[n1] == 0) \ 45 ++px[n0]; \ 47 #define DEC(px) { \ 48 if (--px[n3] == 0xffffffff) \ 49 if (--px[n2] == 0xffffffff) \ 50 if (--px[n1] == 0xffffffff) \ 51 --px[n 79 int *px = (int *) &x; local [all...] |
H A D | scalbln.c | 43 ilogb_biased(unsigned *px) { argument 45 unsigned v = px[HIWORD] & ~0x80000000, w = px[LOWORD], t = v; 66 px[HIWORD] = (px[HIWORD] & 0x80000000) | v; 67 px[LOWORD] = w; 74 int *px = (int *) &x, ix, k; local 76 ix = px[HIWORD] & ~0x80000000; 80 return ((px[HIWORD] & 0x80000) != 0 ? x : x + x); 85 if ((px[LOWOR [all...] |
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | fabs.c | 38 int *px = (int *) &x; local 40 px[HIWORD] &= ~0x80000000;
|
/illumos-gate/usr/src/uts/sparc/fpu/ |
H A D | compare.c | 31 _fp_compare(pfpsd, px, py, strict) 33 unpacked *px, *py; 43 if ((px->fpclass == fp_quiet) || (py->fpclass == fp_quiet) || 44 (px->fpclass == fp_signaling) || (py->fpclass == fp_signaling)) { 48 } else if ((px->fpclass == fp_zero) && (py->fpclass == fp_zero)) 51 else if (px->sign < py->sign) 53 else if (px->sign > py->sign) 56 if ((int) px->fpclass > (int) py->fpclass) 58 else if ((int) px->fpclass < (int) py->fpclass) 61 /* same classes */ if (px [all...] |
H A D | addsub.c | 32 true_add(px, py, pz) 33 unpacked *px, *py, *pz; 38 if ((int) px->fpclass <= (int) py->fpclass) { /* Reverse. */ 40 py = px; 41 px = pt; 44 switch (px->fpclass) { 49 *pz = *px; 53 *pz = *px; 59 if (px->exponent < py->exponent) { /* Reverse. */ 61 py = px; [all...] |