Lines Matching refs:k
36 #define XSET_EXP(k, x) ((int *) &x)[0] = (((int *) &x)[0] & ~0x7fff0000) | \
37 (k << 16)
38 #define ISINFNANL(k, x) (k == 0x7fff)
44 #define XSET_EXP(k, x) ((int *) &x)[2] = (((int *) &x)[2] & ~0x7fff) | k
46 #define ISINFNANL(k, x) (k == 0x7fff || \
47 (k != 0 && (((int *) &x)[1] & 0x80000000) == 0))
49 #define ISINFNANL(k, x) (k == 0x7fff)
58 int k = XBIASED_EXP(x);
60 if (ISINFNANL(k, x))
64 if (k == 0) {
66 k = XBIASED_EXP(x) - XTWOT_OFFSET;
68 k += (int) n;
69 if (n > 50000 || k > 0x7ffe)
71 if (n < -50000 || k <= -XTWOT_OFFSET - 1)
73 if (k > 0) {
74 XSET_EXP(k, x);
77 k += XTWOT_OFFSET + 1;
78 XSET_EXP(k, x);