Searched refs:dk (Results 1 – 2 of 2) sorted by relevance
/picolibc-3.7.0-3.6.0/newlib/libm/math/ |
D | sf_log.c | 35 float hfsq, f, s, z, R, w, t1, t2, dk; in logf() local 63 dk = (float)k; in logf() 64 return dk * ln2_hi + dk * ln2_lo; in logf() 71 dk = (float)k; in logf() 72 return dk * ln2_hi - ((R - dk * ln2_lo) - f); in logf() 76 dk = (float)k; in logf() 90 return dk * ln2_hi - ((hfsq - (s * (hfsq + R) + dk * ln2_lo)) - f); in logf() 95 return dk * ln2_hi - ((s * (f - R) - dk * ln2_lo) - f); in logf()
|
D | s_log.c | 86 __float64 hfsq, f, s, z, R, w, t1, t2, dk; in log64() local 115 dk = (__float64)k; in log64() 116 return dk * ln2_hi + dk * ln2_lo; in log64() 123 dk = (__float64)k; in log64() 124 return dk * ln2_hi - ((R - dk * ln2_lo) - f); in log64() 128 dk = (__float64)k; in log64() 142 return dk * ln2_hi - ((hfsq - (s * (hfsq + R) + dk * ln2_lo)) - f); in log64() 147 return dk * ln2_hi - ((s * (f - R) - dk * ln2_lo) - f); in log64()
|