Searched refs:exp (Results 1 - 25 of 52) sorted by relevance

123

/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_frexpl.c44 switch (u.bits.exp) {
50 *ex = u.bits.exp - 0x4200;
51 u.bits.exp = 0x3ffe;
57 *ex = u.bits.exp - 0x3ffe;
58 u.bits.exp = 0x3ffe;
H A De_sqrtl.c45 u.bits.exp++;
61 u.bits.exp--;
88 if (u.bits.exp == LDBL_MAX_EXP * 2 - 1)
92 if ((u.bits.manh | u.bits.manl | u.bits.exp) == 0)
101 if (u.bits.exp == 0) {
112 if ((u.bits.exp - 0x3ffe) & 1) { /* n is odd. */
113 k += u.bits.exp - 0x3fff; /* 2k = n - 1. */
114 u.bits.exp = 0x3fff; /* u.e in [1,2). */
116 k += u.bits.exp - 0x4000; /* 2k = n - 2. */
117 u.bits.exp
[all...]
H A De_fmodl.c78 if((uy.bits.exp|uy.bits.manh|uy.bits.manl)==0 || /* y=0 */
79 (ux.bits.exp == BIAS + LDBL_MAX_EXP) || /* or x not finite */
80 (uy.bits.exp == BIAS + LDBL_MAX_EXP &&
83 if(ux.bits.exp<=uy.bits.exp) {
84 if((ux.bits.exp<uy.bits.exp) ||
96 if(ux.bits.exp == 0) { /* subnormal x */
98 ix = ux.bits.exp - (BIAS + 512);
100 ix = ux.bits.exp
[all...]
H A Ds_ilogbl.c30 if (u.bits.exp == 0) {
47 } else if (u.bits.exp < (LDBL_MAX_EXP << 1) - 1)
48 return (u.bits.exp - LDBL_MAX_EXP + 1);
H A Ds_logbl.c31 if (u.bits.exp == 0) {
51 if (u.bits.exp < (LDBL_MAX_EXP << 1) - 1) /* normal */
52 return ((long double)(u.bits.exp - LDBL_MAX_EXP + 1));
H A Ds_nextafterl.c42 if ((ux.bits.exp == 0x7fff &&
44 (uy.bits.exp == 0x7fff &&
58 ux.bits.exp -= 1;
67 ux.bits.exp += 1;
70 if(ux.bits.exp==0x7fff) return x+x; /* overflow */
71 if(ux.bits.exp==0) { /* underflow */
H A Ds_fmax.c43 if (u[0].bits.exp == 2047 && (u[0].bits.manh | u[0].bits.manl) != 0)
45 if (u[1].bits.exp == 2047 && (u[1].bits.manh | u[1].bits.manl) != 0)
H A Ds_fmaxf.c43 if (u[0].bits.exp == 255 && u[0].bits.man != 0)
45 if (u[1].bits.exp == 255 && u[1].bits.man != 0)
H A Ds_fmaxl.c45 if (u[0].bits.exp == 32767 && (u[0].bits.manh | u[0].bits.manl) != 0)
47 if (u[1].bits.exp == 32767 && (u[1].bits.manh | u[1].bits.manl) != 0)
H A Ds_fmin.c43 if (u[0].bits.exp == 2047 && (u[0].bits.manh | u[0].bits.manl) != 0)
45 if (u[1].bits.exp == 2047 && (u[1].bits.manh | u[1].bits.manl) != 0)
H A Ds_fminf.c43 if (u[0].bits.exp == 255 && u[0].bits.man != 0)
45 if (u[1].bits.exp == 255 && u[1].bits.man != 0)
H A Ds_fminl.c45 if (u[0].bits.exp == 32767 && (u[0].bits.manh | u[0].bits.manl) != 0)
47 if (u[1].bits.exp == 32767 && (u[1].bits.manh | u[1].bits.manl) != 0)
H A Ds_scalbnl.c50 k = u.bits.exp; /* extract exponent */
54 k = u.bits.exp - 128;
61 {u.bits.exp = k; return u.e;}
67 u.bits.exp = k;
H A Ds_remquol.c85 if((uy.bits.exp|uy.bits.manh|uy.bits.manl)==0 || /* y=0 */
86 (ux.bits.exp == BIAS + LDBL_MAX_EXP) || /* or x not finite */
87 (uy.bits.exp == BIAS + LDBL_MAX_EXP &&
90 if(ux.bits.exp<=uy.bits.exp) {
91 if((ux.bits.exp<uy.bits.exp) ||
105 if(ux.bits.exp == 0) { /* subnormal x */
107 ix = ux.bits.exp - (BIAS + 512);
109 ix = ux.bits.exp
[all...]
H A Ds_cosl.c62 if (z.bits.exp == 0)
66 if (z.bits.exp == 32767)
H A Ds_sinl.c58 if (z.bits.exp == 0)
62 if (z.bits.exp == 32767)
H A Ds_tanl.c64 if (z.bits.exp == 0)
68 if (z.bits.exp == 32767)
H A Ds_ceill.c38 u.bits.exp++; \
46 u.bits.exp++; \
58 int e = u.bits.exp - LDBL_MAX_EXP + 1;
63 if (u.bits.exp > 0 ||
73 u.bits.exp++;
H A Ds_floorl.c38 u.bits.exp++; \
46 u.bits.exp++; \
58 int e = u.bits.exp - LDBL_MAX_EXP + 1;
63 if (u.bits.exp > 0 ||
73 u.bits.exp++;
/bionic/libc/upstream-openbsd/lib/libc/gdtoa/
H A Dstrtord.c36 ULtod(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k;
38 ULtod(ULong *L, ULong *bits, Long exp, int k)
55 L[_0] = (bits[1] & ~0x100000) | ((exp + 0x3ff + 52) << 20);
84 Long exp; local
93 k = strtodg(s, sp, fpi, &exp, bits);
94 ULtod((ULong*)d, bits, exp, k);
H A DstrtorQ.c54 ULtoQ(L, bits, exp, k) ULong *L; ULong *bits; Long exp; int k;
56 ULtoQ(ULong *L, ULong *bits, Long exp, int k)
70 L[_0] = (bits[3] & ~0x10000) | ((exp + 0x3fff + 112) << 16);
108 Long exp; local
117 k = strtodg(s, sp, fpi, &exp, bits);
118 ULtoQ((ULong*)L, bits, exp, k);
H A Dstrtof.c43 Long exp; local
52 k = strtodg(s, sp, fpi, &exp, bits);
61 u.L[0] = (bits[0] & 0x7fffff) | ((exp + 0x7f + 23) << 23);
/bionic/libm/
H A Dfpmath.h45 unsigned int exp :8; member in struct:IEEEf2bits::__anon973
58 unsigned int exp :11; member in struct:IEEEd2bits::__anon974
70 unsigned int exp :15; member in struct:IEEEl2bits::__anon975
/bionic/libm/upstream-freebsd/lib/msun/ld128/
H A Ds_nanl.c43 u.ieee.bits.exp = 0x7fff;
/bionic/libc/include/sys/
H A Dcdefs.h308 #define __predict_true(exp) __builtin_expect((exp) != 0, 1)
309 #define __predict_false(exp) __builtin_expect((exp) != 0, 0)
311 #define __predict_true(exp) (exp)
312 #define __predict_false(exp) (exp)

Completed in 108 milliseconds

123