Home
last modified time | relevance | path

Searched refs:fract (Results 1 – 11 of 11) sorted by relevance

/freebsd-14-stable/crypto/openssh/openbsd-compat/
HDfmt_scaled.c223 long long abval, fract = 0; in fmt_scaled() local
245 fract = (i == 0) ? 0 : abval % scale_factors[i]; in fmt_scaled()
248 fract /= scale_factors[i - 1]; in fmt_scaled()
253 fract = (10 * fract + 512) / 1024; in fmt_scaled()
255 if (fract >= 10) { in fmt_scaled()
260 fract = 0; in fmt_scaled()
261 } else if (fract < 0) { in fmt_scaled()
263 fract = 0; in fmt_scaled()
269 if (fract >= 5) { in fmt_scaled()
279 number, fract, scale_chars[unit]); in fmt_scaled()
/freebsd-14-stable/sys/arm64/rockchip/clk/
HDrk_cru.h127 .clk.fract = &(struct rk_clk_fract_def) { \
240 struct rk_clk_fract_def *fract; member
HDrk_cru.c261 sc->clks[i].clk.fract); in rk_cru_attach()
/freebsd-14-stable/sys/kern/
HDkern_umtx.c215 u_int fract, i, j, tot, whole; in sysctl_debug_umtx_chains_peaks() local
240 fract = (whole % tot) * 100; in sysctl_debug_umtx_chains_peaks()
241 if (UPROF_PERC_BIGGER(whole, fract, sw0, sf0)) { in sysctl_debug_umtx_chains_peaks()
242 sf0 = fract; in sysctl_debug_umtx_chains_peaks()
245 } else if (UPROF_PERC_BIGGER(whole, fract, sw1, in sysctl_debug_umtx_chains_peaks()
247 sf1 = fract; in sysctl_debug_umtx_chains_peaks()
250 } else if (UPROF_PERC_BIGGER(whole, fract, sw2, in sysctl_debug_umtx_chains_peaks()
252 sf2 = fract; in sysctl_debug_umtx_chains_peaks()
255 } else if (UPROF_PERC_BIGGER(whole, fract, sw3, in sysctl_debug_umtx_chains_peaks()
257 sf3 = fract; in sysctl_debug_umtx_chains_peaks()
[all …]
/freebsd-14-stable/sys/dev/acpica/
HDacpi_cpu.c1367 uintmax_t fract, sum, whole; in acpi_cpu_usage_sysctl() local
1376 fract = (whole % sum) * 100; in acpi_cpu_usage_sysctl()
1378 (u_int)(fract / sum)); in acpi_cpu_usage_sysctl()
/freebsd-14-stable/contrib/llvm-project/clang/lib/Headers/
HDopencl-c.h7266 float __ovld fract(float, float *);
7267 float2 __ovld fract(float2, float2 *);
7268 float3 __ovld fract(float3, float3 *);
7269 float4 __ovld fract(float4, float4 *);
7270 float8 __ovld fract(float8, float8 *);
7271 float16 __ovld fract(float16, float16 *);
7273 double __ovld fract(double, double *);
7274 double2 __ovld fract(double2, double2 *);
7275 double3 __ovld fract(double3, double3 *);
7276 double4 __ovld fract(double4, double4 *);
[all …]
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
HDAMDGPU.td1058 "Requires use of fract on arguments to trig instructions"
HDSIInstructions.td3345 // fract(x) = isnan(x) ? x : min(V_FRACT(x), 0.99999999999999999)
3347 // Convert floor(x) to (x - fract(x))
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Target/SPIRV/
HDSPIRVBuiltins.td242 defm : DemangledExtendedBuiltin<"fract", OpenCL_std, 30>;
/freebsd-14-stable/contrib/llvm-project/clang/lib/Sema/
HDOpenCLBuiltins.td618 foreach name = ["fract", "modf", "sincos"] in {
/freebsd-14-stable/contrib/llvm-project/llvm/include/llvm/IR/
HDIntrinsicsAMDGPU.td443 // fract function. It should be ok on VI.