/third_party/musl/src/math/ |
D | pow.c | 30 return asuint64(x) >> 52; in top12() 184 if (asuint64(x) >> 63) in exp_inline() 202 ki = asuint64(kd) >> 16; in exp_inline() 207 ki = asuint64(kd); in exp_inline() 252 return 2 * i - 1 >= 2 * asuint64(INFINITY) - 1; in zeroinfnan() 261 ix = asuint64(x); in pow() 262 iy = asuint64(y); in pow() 274 if (ix == asuint64(1.0)) in pow() 276 if (2 * ix > 2 * asuint64(INFINITY) || in pow() 277 2 * iy > 2 * asuint64(INFINITY)) in pow() [all …]
|
D | exp2.c | 67 return asuint64(x) >> 52; in top12() 83 if (asuint64(x) == asuint64(-INFINITY)) in exp2() 87 if (!(asuint64(x) >> 63)) in exp2() 89 else if (asuint64(x) >= asuint64(-1075.0)) in exp2() 92 if (2 * asuint64(x) > 2 * asuint64(928.0)) in exp2() 100 ki = asuint64(kd); /* k. */ in exp2()
|
D | log2.c | 25 return asuint64(x) >> 48; in top16() 35 ix = asuint64(x); in log2() 37 #define LO asuint64(1.0 - 0x1.5b51p-5) in log2() 38 #define HI asuint64(1.0 + 0x1.6ab2p-5) in log2() 42 if (WANT_ROUNDING && predict_false(ix == asuint64(1.0))) in log2() 50 rhi = asdouble(asuint64(r) & -1ULL << 32); in log2() 70 if (ix == asuint64(INFINITY)) /* log(inf) == inf. */ in log2() 75 ix = asuint64(x * 0x1p52); in log2() 102 rhi = asdouble(asuint64(r) & -1ULL << 32); in log2()
|
D | log.c | 25 return asuint64(x) >> 48; in top16() 35 ix = asuint64(x); in log() 37 #define LO asuint64(1.0 - 0x1p-4) in log() 38 #define HI asuint64(1.0 + 0x1.09p-4) in log() 42 if (WANT_ROUNDING && predict_false(ix == asuint64(1.0))) in log() 67 if (ix == asuint64(INFINITY)) /* log(inf) == inf. */ in log() 72 ix = asuint64(x * 0x1p52); in log()
|
D | exp.c | 69 return asuint64(x) >> 52; in top12() 85 if (asuint64(x) == asuint64(-INFINITY)) in exp() 89 if (asuint64(x) >> 63) in exp() 107 ki = asuint64(kd) >> 16; in exp() 112 ki = asuint64(kd); in exp()
|
D | lrint.c | 56 uint32_t abstop = asuint64(x)>>32 & 0x7fffffff; in lrint() 57 uint64_t sign = asuint64(x) & (1ULL << 63); in lrint() 61 double_t toint = asdouble(asuint64(1/EPS) | sign); in lrint()
|
/third_party/musl/porting/liteos_a/kernel/src/math/ |
D | pow.c | 30 return asuint64(x) >> 52; in top12() 184 if (asuint64(x) >> 63) in exp_inline() 202 ki = asuint64(kd) >> 16; in exp_inline() 207 ki = asuint64(kd); in exp_inline() 252 return 2 * i - 1 >= 2 * asuint64(INFINITY) - 1; in zeroinfnan() 261 ix = asuint64(x); in pow() 262 iy = asuint64(y); in pow() 274 if (ix == asuint64(1.0)) in pow() 276 if (2 * ix > 2 * asuint64(INFINITY) || in pow() 277 2 * iy > 2 * asuint64(INFINITY)) in pow() [all …]
|
D | exp2.c | 67 return asuint64(x) >> 52; in top12() 83 if (asuint64(x) == asuint64(-INFINITY)) in exp2() 87 if (!(asuint64(x) >> 63)) in exp2() 89 else if (asuint64(x) >= asuint64(-1075.0)) in exp2() 92 if (2 * asuint64(x) > 2 * asuint64(928.0)) in exp2() 100 ki = asuint64(kd); /* k. */ in exp2()
|
D | log2.c | 25 return asuint64(x) >> 48; in top16() 35 ix = asuint64(x); in log2() 37 #define LO asuint64(1.0 - 0x1.5b51p-5) in log2() 38 #define HI asuint64(1.0 + 0x1.6ab2p-5) in log2() 42 if (WANT_ROUNDING && predict_false(ix == asuint64(1.0))) in log2() 50 rhi = asdouble(asuint64(r) & -1ULL << 32); in log2() 70 if (ix == asuint64(INFINITY)) /* log(inf) == inf. */ in log2() 75 ix = asuint64(x * 0x1p52); in log2() 102 rhi = asdouble(asuint64(r) & -1ULL << 32); in log2()
|
D | log.c | 25 return asuint64(x) >> 48; in top16() 35 ix = asuint64(x); in log() 37 #define LO asuint64(1.0 - 0x1p-4) in log() 38 #define HI asuint64(1.0 + 0x1.09p-4) in log() 42 if (WANT_ROUNDING && predict_false(ix == asuint64(1.0))) in log() 67 if (ix == asuint64(INFINITY)) /* log(inf) == inf. */ in log() 72 ix = asuint64(x * 0x1p52); in log()
|
D | exp.c | 69 return asuint64(x) >> 52; in top12() 85 if (asuint64(x) == asuint64(-INFINITY)) in exp() 89 if (asuint64(x) >> 63) in exp() 107 ki = asuint64(kd) >> 16; in exp() 112 ki = asuint64(kd); in exp()
|
D | lrint.c | 56 uint32_t abstop = asuint64(x)>>32 & 0x7fffffff; in lrint() 57 uint64_t sign = asuint64(x) & (1ULL << 63); in lrint() 61 double_t toint = asdouble(asuint64(1/EPS) | sign); in lrint()
|
/third_party/optimized-routines/math/ |
D | pow.c | 30 return asuint64 (x) >> 52; in top12() 193 if (asuint64 (x) >> 63) in exp_inline() 211 ki = asuint64 (kd) >> 16; in exp_inline() 216 ki = asuint64 (kd); in exp_inline() 269 return 2 * i - 1 >= 2 * asuint64 (INFINITY) - 1; in zeroinfnan() 279 ix = asuint64 (x); in pow() 280 iy = asuint64 (y); in pow() 294 if (ix == asuint64 (1.0)) in pow() 296 if (2 * ix > 2 * asuint64 (INFINITY) in pow() 297 || 2 * iy > 2 * asuint64 (INFINITY)) in pow() [all …]
|
D | exp2.c | 72 return asuint64 (x) >> 52; in top12() 92 if (asuint64 (x) == asuint64 (-INFINITY)) in exp2() 96 if (!(asuint64 (x) >> 63)) in exp2() 98 else if (asuint64 (x) >= asuint64 (-1075.0)) in exp2() 101 if (2 * asuint64 (x) > 2 * asuint64 (928.0)) in exp2() 109 ki = asuint64 (kd); /* k. */ in exp2()
|
D | log2.c | 26 return asuint64 (x) >> 48; in top16() 38 ix = asuint64 (x); in log2() 42 # define LO asuint64 (1.0 - 0x1.5b51p-5) in log2() 43 # define HI asuint64 (1.0 + 0x1.6ab2p-5) in log2() 49 if (WANT_ROUNDING && unlikely (ix == asuint64 (1.0))) in log2() 57 rhi = asdouble (asuint64 (r) & -1ULL << 32); in log2() 80 if (ix == asuint64 (INFINITY)) /* log(inf) == inf. */ in log2() 85 ix = asuint64 (x * 0x1p52); in log2() 112 rhi = asdouble (asuint64 (r) & -1ULL << 32); in log2()
|
D | log.c | 26 return asuint64 (x) >> 48; in top16() 38 ix = asuint64 (x); in log() 42 # define LO asuint64 (1.0 - 0x1p-5) in log() 43 # define HI asuint64 (1.0 + 0x1.1p-5) in log() 45 # define LO asuint64 (1.0 - 0x1p-4) in log() 46 # define HI asuint64 (1.0 + 0x1.09p-4) in log() 52 if (WANT_ROUNDING && unlikely (ix == asuint64 (1.0))) in log() 104 if (ix == asuint64 (INFINITY)) /* log(inf) == inf. */ in log() 109 ix = asuint64 (x * 0x1p52); in log()
|
D | exp.c | 74 return asuint64 (x) >> 52; in top12() 96 if (asuint64 (x) == asuint64 (-INFINITY)) in exp_inline() 100 if (asuint64 (x) >> 63) in exp_inline() 118 ki = asuint64 (kd) >> 16; in exp_inline() 123 ki = asuint64 (kd); in exp_inline()
|
/third_party/musl/porting/uniproton/kernel/src/math/ |
D | pow.c | 30 return asuint64(x) >> 52; in top12() 184 if (asuint64(x) >> 63) in exp_inline() 202 ki = asuint64(kd) >> 16; in exp_inline() 207 ki = asuint64(kd); in exp_inline() 252 return 2 * i - 1 >= 2 * asuint64(INFINITY) - 1; in zeroinfnan() 261 ix = asuint64(x); in pow() 262 iy = asuint64(y); in pow() 274 if (ix == asuint64(1.0)) in pow() 276 if (2 * ix > 2 * asuint64(INFINITY) || in pow() 277 2 * iy > 2 * asuint64(INFINITY)) in pow() [all …]
|
D | log.c | 40 return asuint64(x) >> 48; in top16() 50 ix = asuint64(x); in log() 52 #define LO asuint64(1.0 - 0x1p-4) in log() 53 #define HI asuint64(1.0 + 0x1.09p-4) in log() 57 if (WANT_ROUNDING && predict_false(ix == asuint64(1.0))) in log() 82 if (ix == asuint64(INFINITY)) /* log(inf) == inf. */ in log() 87 ix = asuint64(x * 0x1p52); in log()
|
/third_party/musl/porting/liteos_m/kernel/src/math/ |
D | pow.c | 30 return asuint64(x) >> 52; in top12() 184 if (asuint64(x) >> 63) in exp_inline() 202 ki = asuint64(kd) >> 16; in exp_inline() 207 ki = asuint64(kd); in exp_inline() 252 return 2 * i - 1 >= 2 * asuint64(INFINITY) - 1; in zeroinfnan() 261 ix = asuint64(x); in pow() 262 iy = asuint64(y); in pow() 274 if (ix == asuint64(1.0)) in pow() 276 if (2 * ix > 2 * asuint64(INFINITY) || in pow() 277 2 * iy > 2 * asuint64(INFINITY)) in pow() [all …]
|
D | log.c | 40 return asuint64(x) >> 48; in top16() 50 ix = asuint64(x); in log() 52 #define LO asuint64(1.0 - 0x1p-4) in log() 53 #define HI asuint64(1.0 + 0x1.09p-4) in log() 57 if (WANT_ROUNDING && predict_false(ix == asuint64(1.0))) in log() 82 if (ix == asuint64(INFINITY)) /* log(inf) == inf. */ in log() 87 ix = asuint64(x * 0x1p52); in log()
|
/third_party/musl/porting/uniproton/kernel/src/internal/ |
D | libm.h | 193 #define asuint64(f) ((union{double _f; uint64_t _i;}){f})._i macro 198 uint64_t __u = asuint64(d); \ 205 (hi) = asuint64(d) >> 32; \ 210 (lo) = (uint32_t)asuint64(d); \ 219 INSERT_WORDS(d, hi, (uint32_t)asuint64(d)) 222 INSERT_WORDS(d, asuint64(d)>>32, lo)
|
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
D | libm.h | 193 #define asuint64(f) ((union{double _f; uint64_t _i;}){f})._i macro 198 uint64_t __u = asuint64(d); \ 205 (hi) = asuint64(d) >> 32; \ 210 (lo) = (uint32_t)asuint64(d); \ 219 INSERT_WORDS(d, hi, (uint32_t)asuint64(d)) 222 INSERT_WORDS(d, asuint64(d)>>32, lo)
|
/third_party/musl/porting/liteos_a/kernel/src/internal/ |
D | libm.h | 192 #define asuint64(f) ((union{double _f; uint64_t _i;}){f})._i macro 197 uint64_t __u = asuint64(d); \ 204 (hi) = asuint64(d) >> 32; \ 209 (lo) = (uint32_t)asuint64(d); \ 218 INSERT_WORDS(d, hi, (uint32_t)asuint64(d)) 221 INSERT_WORDS(d, asuint64(d)>>32, lo)
|
/third_party/musl/src/internal/ |
D | libm.h | 192 #define asuint64(f) ((union{double _f; uint64_t _i;}){f})._i macro 197 uint64_t __u = asuint64(d); \ 204 (hi) = asuint64(d) >> 32; \ 209 (lo) = (uint32_t)asuint64(d); \ 218 INSERT_WORDS(d, hi, (uint32_t)asuint64(d)) 221 INSERT_WORDS(d, asuint64(d)>>32, lo)
|