Searched refs:floor (Results 1 - 25 of 72) sorted by relevance

123

/freebsd-11-stable/contrib/groff/src/libs/libgroff/
H A Dfmod.c26 return x - (quot < 0.0 ? ceil(quot) : floor(quot)) * y;
/freebsd-11-stable/lib/msun/src/
H A Ds_round.c46 t = floor(x);
51 t = floor(-x);
H A Ds_floor.c17 * floor(x)
22 * Inexact flag raised if x not equal to floor(x).
33 floor(double x) function
77 __weak_reference(floor, floorl);
/freebsd-11-stable/lib/msun/i387/
H A Ds_floor.S39 ENTRY(floor)
58 END(floor)
/freebsd-11-stable/contrib/top/
H A Dprime.c29 if ((i/j)==floor(i/j))
/freebsd-11-stable/sys/tools/sound/
H A Dsnd_fxdiv_gen.awk30 function floor(x, r) function
50 x = floor(x / 2);
58 y = floor(FXONE / x);
65 y = floor(y / 2);
H A Dfeeder_eq_mkfilter.awk57 function floor(x, r) function
117 r = floor((v * FEEDEQ_COEFF_ONE) + 0.5);
238 if (floor(FEEDEQ_PREAMP_BITDB) == 6 && \
239 (1.0 * floor(gain)) == gain && (floor(gain) % 6) == 0) {
241 shift = floor(floor(gain) / 6);
245 mul = floor((attn * FEEDEQ_PREAMP_ONE) + 0.5);
249 mul = floor(mul / 2);
305 FEEDEQ_GAIN_MIN = floor(1.
[all...]
H A Dfeeder_rate_mkfilter.awk69 function floor(x, r) function
97 x = floor(x / 2);
110 r = floor((v * o) + 0.5);
220 y = floor(x + 3);
303 nwing = floor((nmult * num) / 2) + 1;
385 init_drift(floor(a[2]));
392 init_coeff_bit(floor(a[2]));
399 init_accum_bit(floor(a[2]));
531 xdrift = floor(drift);
558 xcbit = floor(cbi
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp83 << format("%.2f", floor((UOpsPerCycle * 100) + 0.5) / 100);
85 << format("%.2f", floor((IPC * 100) + 0.5) / 100);
87 << format("%.1f", floor((BlockRThroughput * 10) + 0.5) / 10)
H A DRetireControlUnitStatistics.cpp75 double NormalizedMaxPercentage = floor((MaxUsagePercentage * 10) + 0.5) / 10;
77 double NormalizedAvgPercentage = floor((AvgUsagePercentage * 10) + 0.5) / 10;
H A DDispatchStatistics.cpp44 << " (" << format("%.1f", floor((Percentage * 10) + 0.5) / 10)
61 << format("%.1f", floor((Percentage * 10) + 0.5) / 10) << "%)";
H A DRegisterFileStatistics.cpp152 floor((EliminatedMovProportion * 10) + 0.5) / 10);
156 floor((ZeroMovProportion * 10) + 0.5) / 10);
H A DSchedulerStatistics.cpp148 unsigned NormalizedAvg = floor((AvgUsage * 10) + 0.5) / 10;
149 unsigned NormalizedThreshold = floor((AlmostFullThreshold * 10) + 0.5) / 10;
H A DBottleneckAnalysis.cpp611 << format("%.2f", floor((PressurePerCycle * 100) + 0.5) / 100) << "% ]";
615 << format("%.2f", floor((ResourcePressurePerCycle * 100) + 0.5) / 100)
627 << format("%.2f", floor((Frequency * 100) + 0.5) / 100) << "% ]";
633 << format("%.2f", floor((DDPerCycle * 100) + 0.5) / 100) << "% ]";
635 << format("%.2f", floor((RegDepPressurePerCycle * 100) + 0.5) / 100)
638 << format("%.2f", floor((MemDepPressurePerCycle * 100) + 0.5) / 100)
H A DTimelineView.cpp158 OS << format("%.1f", floor((AverageTime1 * 10) + 0.5) / 10);
163 OS << format("%.1f", floor((AverageTime2 * 10) + 0.5) / 10);
168 OS << format("%.1f", floor((AverageTime3 * 10) + 0.5) / 10);
/freebsd-11-stable/contrib/ntp/libntp/
H A Dtimexsup.c27 dval = floor(dval + 0.5);
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/
H A Dmath.h56 using std::floor;
/freebsd-11-stable/contrib/libstdc++/libmath/
H A Dstubs.c194 return (float) floor(x);
202 return floor((double) x);
/freebsd-11-stable/contrib/libstdc++/include/c/
H A Dstd_cmath.h55 #undef floor macro
/freebsd-11-stable/contrib/llvm-project/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h92 __DEVICE__ double floor(double);
93 __DEVICE__ float floor(float);
243 using ::floor;
/freebsd-11-stable/contrib/apr-util/buckets/
H A Dapr_buckets_file.c208 apr_size_t floor = apr_bucket_alloc_aligned_floor(e->list, size); local
209 a->read_size = (size < floor) ? size : floor;
/freebsd-11-stable/contrib/netbsd-tests/lib/libm/
H A Dt_ceil.c319 * floor(3)
324 atf_tc_set_md_var(tc, "descr", "A basic test of floor(3)");
332 ATF_CHECK(floor(x) < SMALL_NUM);
333 ATF_CHECK(floor(y) < SMALL_NUM);
339 atf_tc_set_md_var(tc, "descr", "Test floor(NaN) == NaN");
346 ATF_CHECK(isnan(floor(x)) != 0);
352 atf_tc_set_md_var(tc, "descr", "Test floor(-Inf) == -Inf");
358 double y = floor(x);
361 atf_tc_fail_nonfatal("floor(-Inf) != -Inf");
367 atf_tc_set_md_var(tc, "descr", "Test floor(
[all...]
/freebsd-11-stable/contrib/libstdc++/include/tr1/
H A Dmath.h60 using std::tr1::floor;
/freebsd-11-stable/contrib/gcc/
H A Dfp-test.c64 extern double floor (double);
248 d1 = floor (d2);
/freebsd-11-stable/usr.bin/seq/
H A Dseq.c468 last = first - incr * floor((first - last) / incr);
470 last = first + incr * floor((last - first) / incr);

Completed in 360 milliseconds

123