Lines Matching full:float
16 /* Biased exponent of the largest float m for which m^8 underflows. */
18 /* Biased exponent of the largest float for which we just return x. */
23 static inline float
24 eval_poly (float m, uint32_t e) in eval_poly()
30 float p_12 = fmaf (m, C (1), C (0)); in eval_poly()
31 float p_34 = fmaf (m, C (3), C (2)); in eval_poly()
32 float p_56 = fmaf (m, C (5), C (4)); in eval_poly()
33 float p_78 = fmaf (m, C (7), C (6)); in eval_poly()
35 float m2 = m * m; in eval_poly()
36 float p_02 = fmaf (m2, p_12, m); in eval_poly()
37 float p_36 = fmaf (m2, p_56, p_34); in eval_poly()
38 float p_79 = fmaf (m2, C (8), p_78); in eval_poly()
40 float m4 = m2 * m2; in eval_poly()
41 float p_06 = fmaf (m4, p_36, p_02); in eval_poly()
46 float m8 = m4 * m4; in eval_poly()
72 float
73 log1pf (float x) in log1pf()
126 float m = x + 1.0f; in log1pf()
130 Outside this range, if k is reinterpreted as (NOT CONVERTED TO) float: in log1pf()
139 float m_scale = asfloat (asuint (x) - k); in log1pf()
143 float s = asfloat (asuint (4.0f) - k); in log1pf()
146 float p = eval_poly (m_scale, biased_exponent (asuint (m_scale))); in log1pf()
148 /* The scale factor to be applied back at the end - by multiplying float(k) in log1pf()
150 float scale_back = (float) k * 0x1.0p-23f; in log1pf()