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 if (i > LLONG_MAX - fpart) { in scan_scaled()
137 fpart += i; in scan_scaled()
158 fpart *= sign; in scan_scaled()
194 while (fpart >= LLONG_MAX / scale_fact) { in scan_scaled()
195 fpart /= 10; in scan_scaled()
198 fpart *= scale_fact; in scan_scaled()
201 fpart /= 10; in scan_scaled()
[all …]
/external/mesa3d/src/util/
Du_math.h115 float fpart, mpart; in util_fast_exp2() local
125 fpart = x - (float) ipart; in util_fast_exp2()
133 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.cpp407 const Sk4f fpart = t - SkNx_cast<float>(ipart); in apply() local
416 const Sk4f height = amplitudes * (left * (1.f - fpart) + right * fpart); in apply()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c3234 LLVMValueRef fpart = NULL; in lp_build_exp2() local
3259 lp_build_ifloor_fract(bld, x, &ipart, &fpart); in lp_build_exp2()
3268 expfpart = lp_build_polynomial(bld, fpart, lp_build_exp2_polynomial, in lp_build_exp2()
3554 LLVMValueRef fpart; in lp_build_fast_log2() local
3565 fpart = lp_build_extract_mantissa(bld, x); in lp_build_fast_log2()
3568 return LLVMBuildFAdd(builder, ipart, fpart, ""); in lp_build_fast_log2()