Home
last modified time | relevance | path

Searched refs:fpart (Results 1 – 3 of 3) sorted by relevance

/external/openssh/openbsd-compat/
Dfmt_scaled.c81 long long scale_fact = 1, whole = 0, fpart = 0; in scan_scaled() local
127 fpart *= 10; in scan_scaled()
128 fpart += i; in scan_scaled()
141 fpart *= sign; in scan_scaled()
170 while (fpart >= LLONG_MAX / scale_fact) { in scan_scaled()
171 fpart /= 10; in scan_scaled()
174 fpart *= scale_fact; in scan_scaled()
177 fpart /= 10; in scan_scaled()
179 whole += fpart; in scan_scaled()
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h206 float fpart, mpart; in util_fast_exp2() local
216 fpart = x - (float) ipart; in util_fast_exp2()
224 mpart = pow2_table[POW2_TABLE_OFFSET + (int)(fpart * POW2_TABLE_SCALE)]; in util_fast_exp2()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c2612 LLVMValueRef fpart = NULL; in lp_build_exp2_approx() local
2634 lp_build_ifloor_fract(bld, x, &ipart, &fpart); in lp_build_exp2_approx()
2647 expfpart = lp_build_polynomial(bld, fpart, lp_build_exp2_polynomial, in lp_build_exp2_approx()
2657 *p_frac_part = fpart; in lp_build_exp2_approx()
2898 LLVMValueRef fpart; in lp_build_fast_log2() local
2909 fpart = lp_build_extract_mantissa(bld, x); in lp_build_fast_log2()
2912 return LLVMBuildFAdd(builder, ipart, fpart, ""); in lp_build_fast_log2()