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

123

/bionic/libm/upstream-freebsd/lib/msun/src/
H A Ds_isnormal.c39 return (u.bits.exp != 0 && u.bits.exp != 2047);
48 return (u.bits.exp != 0 && u.bits.exp != 255);
57 return (u.bits.exp != 0 && u.bits.exp != 32767);
H A Ds_isfinite.c39 return (u.bits.exp != 2047);
48 return (u.bits.exp != 255);
57 return (u.bits.exp != 32767);
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 Ds_isnan.c42 return (u.bits.exp == 2047 && (u.bits.manl != 0 || u.bits.manh != 0));
52 return (u.bits.exp == 255 && u.bits.man != 0);
62 return (u.bits.exp == 32767 && (u.bits.manl != 0 || u.bits.manh != 0));
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)
/bionic/libm/
H A Dfpmath.h38 unsigned int exp :8; member in struct:IEEEf2bits::__anon690
42 unsigned int exp :8;
57 unsigned int exp :11; member in struct:IEEEd2bits::__anon691
63 unsigned int exp :11;
67 unsigned int exp :11;
H A Disinf.c44 return (u.bits.exp == 2047 && u.bits.manl == 0 && u.bits.manh == 0);
53 return (u.bits.exp == 255 && u.bits.man == 0);
64 return (u.bits.exp == 32767 && u.bits.manl == 0 && u.bits.manh == 0);
66 return (u.bits.exp == 2047 && u.bits.manl == 0 && u.bits.manh == 0);
H A Dfpclassify.c43 if (u.bits.exp == 0) {
48 if (u.bits.exp == 255) {
62 if (u.bits.exp == 0) {
67 if (u.bits.exp == 2047) {
81 if (u.bits.exp == 0) {
87 if (u.bits.exp == 32767) {
/bionic/libm/mips/
H A D_fpmath.h35 unsigned int exp :11; member in struct:IEEEl2bits::__anon696
39 unsigned int exp :11;
/bionic/libm/arm/
H A D_fpmath.h43 unsigned int exp :11; member in struct:IEEEl2bits::__anon689
50 unsigned int exp :11;

Completed in 783 milliseconds

123