Home
last modified time | relevance | path

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

/external/openssh/openbsd-compat/
Dfmt_scaled.c81 long long scale_fact = 1, whole = 0, fpart = 0; in scan_scaled() local
128 if (fpart >= LLONG_MAX / 10) { in scan_scaled()
132 fpart *= 10; in scan_scaled()
133 fpart += i; in scan_scaled()
150 fpart *= sign; in scan_scaled()
184 while (fpart >= LLONG_MAX / scale_fact) { in scan_scaled()
185 fpart /= 10; in scan_scaled()
188 fpart *= scale_fact; in scan_scaled()
191 fpart /= 10; in scan_scaled()
193 whole += fpart; in scan_scaled()
/external/mesa3d/src/gallium/auxiliary/util/
Du_math.h116 float fpart, mpart; in util_fast_exp2() local
126 fpart = x - (float) ipart; in util_fast_exp2()
134 mpart = pow2_table[POW2_TABLE_OFFSET + (int)(fpart * POW2_TABLE_SCALE)]; in util_fast_exp2()
/external/virglrenderer/src/gallium/auxiliary/util/
Du_math.h261 float fpart, mpart; in util_fast_exp2() local
271 fpart = x - (float) ipart; in util_fast_exp2()
279 mpart = pow2_table[POW2_TABLE_OFFSET + (int)(fpart * POW2_TABLE_SCALE)]; in util_fast_exp2()
/external/skqp/samplecode/
DSamplePathText.cpp408 const Sk4f fpart = t - SkNx_cast<float>(ipart); in apply() local
417 const Sk4f height = amplitudes * (left * (1.f - fpart) + right * fpart); in apply()
/external/skia/samplecode/
DSamplePathText.cpp408 const Sk4f fpart = t - SkNx_cast<float>(ipart); in apply() local
417 const Sk4f height = amplitudes * (left * (1.f - fpart) + right * fpart); in apply()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c3286 LLVMValueRef fpart = NULL; in lp_build_exp2() local
3311 lp_build_ifloor_fract(bld, x, &ipart, &fpart); in lp_build_exp2()
3320 expfpart = lp_build_polynomial(bld, fpart, lp_build_exp2_polynomial, in lp_build_exp2()
3606 LLVMValueRef fpart; in lp_build_fast_log2() local
3617 fpart = lp_build_extract_mantissa(bld, x); in lp_build_fast_log2()
3620 return LLVMBuildFAdd(builder, ipart, fpart, ""); in lp_build_fast_log2()