Searched refs:frac (Results 1 – 5 of 5) sorted by relevance
/picolibc-3.7.0-3.6.0/newlib/libm/machine/spu/headers/ |
D | exp2f.h | 83 float frac, frac2, frac4; in _exp2f() local 91 frac = (float)ix - x; in _exp2f() 92 frac *= (float)(M_LN2); in _exp2f() 104 frac2 = frac * frac; in _exp2f() 106 hi = -0.0001413161f * frac + 0.0013298820f; in _exp2f() 107 hi = hi * frac - 0.0083013598f; in _exp2f() 108 hi = hi * frac + 0.0416573475f; in _exp2f() 109 lo = -0.1666653019f * frac + 0.4999999206f; in _exp2f() 110 lo = lo * frac - 0.9999999995f; in _exp2f() 111 lo = lo * frac + 1.0f; in _exp2f()
|
D | exp2f4.h | 88 vector float frac, frac2, frac4; in _exp2f4() local 99 frac = spu_sub(spu_convtf(ix, 0), x); in _exp2f4() 100 frac = spu_mul(frac, spu_splats((float)SM_LN2)); in _exp2f4() 112 frac2 = spu_mul(frac, frac); in _exp2f4() 115 hi = spu_madd(frac, spu_splats(-0.0001413161f), spu_splats(0.0013298820f)); in _exp2f4() 116 hi = spu_madd(frac, hi, spu_splats(-0.0083013598f)); in _exp2f4() 117 hi = spu_madd(frac, hi, spu_splats(0.0416573475f)); in _exp2f4() 118 lo = spu_madd(frac, spu_splats(-0.1666653019f), spu_splats(0.4999999206f)); in _exp2f4() 119 lo = spu_madd(frac, lo, spu_splats(-0.9999999995f)); in _exp2f4() 120 lo = spu_madd(frac, lo, spu_splats(1.0f)); in _exp2f4()
|
/picolibc-3.7.0-3.6.0/newlib/libc/include/sys/ |
D | time.h | 67 uint64_t frac; member 75 _u = _bt->frac; in bintime_addx() 76 _bt->frac += _x; in bintime_addx() 77 if (_u > _bt->frac) in bintime_addx() 86 _u = _bt->frac; in bintime_add() 87 _bt->frac += _bt2->frac; in bintime_add() 88 if (_u > _bt->frac) in bintime_add() 98 _u = _bt->frac; in bintime_sub() 99 _bt->frac -= _bt2->frac; in bintime_sub() 100 if (_u < _bt->frac) in bintime_sub() [all …]
|
/picolibc-3.7.0-3.6.0/newlib/libm/ld/ldd/ |
D | s_nearbyintl.c | 40 double dh, dl, frac; in nearbyintl() local 46 frac = u.dbits.dh - dh; in nearbyintl() 47 if (frac != 0.0) { in nearbyintl() 49 if (u.dbits.dl > 0 && frac == 0.5) in nearbyintl() 51 else if(u.dbits.dl < 0 && frac == -0.5) in nearbyintl()
|
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/ |
D | ftoa_engine.c | 101 uint32_t frac = x.u & 0x007fffffUL; in __ftoa_engine() local 118 if(exp==0 && frac==0) in __ftoa_engine() 124 if(frac == 0) in __ftoa_engine() 136 frac |= (1UL<<23); in __ftoa_engine() 146 int64_t prod = (int64_t)frac * (int64_t)factorTable[idx]; in __ftoa_engine()
|