Searched refs:fpart (Results 1 - 5 of 5) sorted by relevance
/external/openssh/openbsd-compat/ |
H A D | fmt_scaled.c | 81 long long scale_fact = 1, whole = 0, fpart = 0; local 127 fpart *= 10; 128 fpart += i; 141 fpart *= sign; 167 /* truncate fpart so it does't overflow. 170 while (fpart >= LLONG_MAX / scale_fact) { 171 fpart /= 10; 174 fpart *= scale_fact; 177 fpart /= 10; 179 whole += fpart; [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_math.h | 197 * Let fpart = x - ipart; 198 * So, exp2(x) = exp2(ipart) * exp2(fpart) 200 * Compute exp2(fpart) with lookup table. 206 float fpart, mpart; local 216 fpart = x - (float) ipart; 224 mpart = pow2_table[POW2_TABLE_OFFSET + (int)(fpart * POW2_TABLE_SCALE)];
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_math.h | 197 * Let fpart = x - ipart; 198 * So, exp2(x) = exp2(ipart) * exp2(fpart) 200 * Compute exp2(fpart) with lookup table. 206 float fpart, mpart; local 216 fpart = x - (float) ipart; 224 mpart = pow2_table[POW2_TABLE_OFFSET + (int)(fpart * POW2_TABLE_SCALE)];
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_arit.c | 1804 *out_fpart = LLVMBuildFSub(builder, a, ipart, "fpart"); 1814 *out_fpart = LLVMBuildFSub(builder, a, ipart, "fpart"); 2612 LLVMValueRef fpart = NULL; local 2633 /* fpart = x - ipart */ 2634 lp_build_ifloor_fract(bld, x, &ipart, &fpart); 2647 expfpart = lp_build_polynomial(bld, fpart, lp_build_exp2_polynomial, 2657 *p_frac_part = fpart; 2898 LLVMValueRef fpart; local 2908 /* fpart = x / 2**ipart */ 2909 fpart [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_arit.c | 1804 *out_fpart = LLVMBuildFSub(builder, a, ipart, "fpart"); 1814 *out_fpart = LLVMBuildFSub(builder, a, ipart, "fpart"); 2612 LLVMValueRef fpart = NULL; local 2633 /* fpart = x - ipart */ 2634 lp_build_ifloor_fract(bld, x, &ipart, &fpart); 2647 expfpart = lp_build_polynomial(bld, fpart, lp_build_exp2_polynomial, 2657 *p_frac_part = fpart; 2898 LLVMValueRef fpart; local 2908 /* fpart = x / 2**ipart */ 2909 fpart [all...] |
Completed in 170 milliseconds