Home
last modified time | relevance | path

Searched refs:floor (Results 1 – 25 of 205) sorted by relevance

123456789

/openbsd/gnu/llvm/clang/lib/Headers/hlsl/
H A Dhlsl_intrinsics.h107 half floor(half);
109 half2 floor(half2);
111 half3 floor(half3);
113 half4 floor(half4);
117 floor(float);
119 float2 floor(float2);
121 float3 floor(float3);
123 float4 floor(float4);
126 floor(double);
128 double2 floor(double2);
[all …]
/openbsd/lib/libm/arch/amd64/
H A Ds_floor.S10 ENTRY(floor)
11 RETGUARD_SETUP(floor, r11)
24 RETGUARD_CHECK(floor, r11)
26 END_STD(floor)
/openbsd/games/phantasia/
H A Dmisc.c297 cost = (numitems = floor(infloat())) * Menu[0].cost; in tradingpost()
314 cost = (numitems = floor(infloat())) * Menu[1].cost; in tradingpost()
349 Player.p_brains += floor(numitems) * ROLL(20, 8); in tradingpost()
440 numitems = floor(infloat()); in tradingpost()
1005 return (floor(pow((experience / 1000.0), 0.4875))); in explevel()
1007 return (floor(pow((experience / 1250.0), 0.4865))); in explevel()
1104 Circle = CIRCLE(Player.p_x = floor(xnew), Player.p_y = floor(ynew)); in altercoordinates()
1218 Player.p_gold = floor(Player.p_gold) + 0.1; in adjuststats()
1219 Player.p_gems = floor(Player.p_gems) + 0.1; in adjuststats()
1220 Player.p_mana = floor(Player.p_mana) + 0.1; in adjuststats()
[all …]
H A Dmacros.h8 #define ROLL(BASE,INTERVAL) floor((BASE) + (INTERVAL) * drandom())
10 #define CIRCLE(X, Y) floor(distance(X, 0.0, Y, 0.0) / 125.0 + 1)
H A Dinterplayer.c431 Player.p_1scratch = floor(Player.p_1scratch); /* clean up any mess */ in myturn()
545 Player.p_gold = floor(Player.p_gold / 1.25) + 0.1; in tampered()
922 Enrgyvoid.ev_x = floor(temp1); in dotampered()
923 Enrgyvoid.ev_y = floor(temp2); in dotampered()
955 Player.p_gold += floor(temp1); in dotampered()
1069 Player.p_gold -= floor(temp1); in dotampered()
1074 Other.p_1scratch = floor(temp1); in dotampered()
1075 Other.p_2scratch = floor(temp2); in dotampered()
/openbsd/lib/libm/arch/hppa/
H A Ds_floor.c11 floor(double x) in floor() function
24 DEF_STD(floor);
25 LDBL_CLONE(floor);
/openbsd/regress/lib/libm/complex/
H A Dcomplex.c13 floor((__real__ (f)) * PREC) == floor((r) * PREC) && \
14 floor((__imag__ (f)) * PREC) == floor((i) * PREC) \
/openbsd/lib/libm/src/
H A Ds_floor.c30 floor(double x) in floor() function
72 DEF_STD(floor);
73 LDBL_MAYBE_CLONE(floor);
H A Ds_round.c43 t = floor(x); in round()
48 t = floor(-x); in round()
/openbsd/sys/arch/amd64/amd64/
H A Dipi.c96 int floor; in x86_ipi_handler() local
98 floor = ci->ci_handled_intr_level; in x86_ipi_handler()
110 ci->ci_handled_intr_level = floor; in x86_ipi_handler()
H A Dsoftintr.c83 int floor; in softintr_dispatch() local
85 floor = ci->ci_handled_intr_level; in softintr_dispatch()
107 ci->ci_handled_intr_level = floor; in softintr_dispatch()
/openbsd/regress/lib/libm/tgamma/
H A Dtgamma.c63 if (floor(x) != 3628800.0) in main()
67 if (floor(x * 100) != 332.0) in main()
71 if (floor(x * 100) != -355.0) in main()
/openbsd/lib/libm/arch/i387/
H A Ds_floor.S9 ENTRY(floor)
26 END_STD(floor)
/openbsd/gnu/gcc/gcc/config/sh/
H A Ddivtab.c90 double y0 = (constant - (int) floor ((x * factor * 64.))) / 16384.; in calc_defect()
96 y1 = floor (y1 * (1024 * 1024 * 1024)) / (1024 * 1024 * 1024); in calc_defect()
108 y2d0 = floor (y1 * x * (1LL << 60-16)); in calc_defect()
110 y2d = - floor ((y1 - y0 / (1<<30-14)) * y2d1) / (1LL<<44); in calc_defect()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D990826-0.x1 # floor() is not available on m6811/m6812 target, this test will not link.
6 # This test calls the system libm.a function floor.
/openbsd/gnu/llvm/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp76 << format("%.2f", floor((DV.UOpsPerCycle * 100) + 0.5) / 100); in printView()
78 << format("%.2f", floor((DV.IPC * 100) + 0.5) / 100); in printView()
80 << format("%.1f", floor((DV.BlockRThroughput * 10) + 0.5) / 10) in printView()
H A DRetireControlUnitStatistics.cpp76 double NormalizedMaxPercentage = floor((MaxUsagePercentage * 10) + 0.5) / 10; in printView()
78 double NormalizedAvgPercentage = floor((AvgUsagePercentage * 10) + 0.5) / 10; in printView()
H A DDispatchStatistics.cpp43 << " (" << format("%.1f", floor((Percentage * 10) + 0.5) / 10) in printDispatchHistogram()
60 << format("%.1f", floor((Percentage * 10) + 0.5) / 10) << "%)"; in printStalls()
H A DBottleneckAnalysis.cpp603 << format("%.2f", floor((PressurePerCycle * 100) + 0.5) / 100) << "% ]"; in printBottleneckHints()
607 << format("%.2f", floor((ResourcePressurePerCycle * 100) + 0.5) / 100) in printBottleneckHints()
619 << format("%.2f", floor((Frequency * 100) + 0.5) / 100) << "% ]"; in printBottleneckHints()
625 << format("%.2f", floor((DDPerCycle * 100) + 0.5) / 100) << "% ]"; in printBottleneckHints()
627 << format("%.2f", floor((RegDepPressurePerCycle * 100) + 0.5) / 100) in printBottleneckHints()
630 << format("%.2f", floor((MemDepPressurePerCycle * 100) + 0.5) / 100) in printBottleneckHints()
/openbsd/gnu/lib/libstdc++/libstdc++/include/c_std/
H A Dstd_cmath.h66 #undef floor
379 using ::floor;
383 floor(float __x) { return __gnu_cxx::__c99_binding::floorf(__x); } in floor() function
386 floor(float __x) { return ::floor(static_cast<double>(__x)); } in floor() function
391 floor(long double __x) { return ::floorl(__x); } in floor() function
394 floor(long double __x) { return ::floor(static_cast<double>(__x)); } in floor() function
399 floor(_Tp __x) in floor() function
400 { return ::floor(static_cast<double>(__x)); } in floor()
/openbsd/gnu/usr.bin/perl/lib/
H A Dbuiltin.t178 use builtin qw( ceil floor );
181 cmp_ok(floor(1.5), '==', 1, 'floor(1.5) == 1');
196 $_dummy = floor($tied);
199 $tied = floor(1.1);
203 is(prototype(\&builtin::floor), '$', 'floor prototype');
/openbsd/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVTargetTransformInfo.cpp371 {Intrinsic::floor, MVT::v2f32, 9},
372 {Intrinsic::floor, MVT::v4f32, 9},
373 {Intrinsic::floor, MVT::v8f32, 9},
374 {Intrinsic::floor, MVT::v16f32, 9},
375 {Intrinsic::floor, MVT::nxv1f32, 9},
376 {Intrinsic::floor, MVT::nxv2f32, 9},
380 {Intrinsic::floor, MVT::v2f64, 9},
381 {Intrinsic::floor, MVT::v4f64, 9},
382 {Intrinsic::floor, MVT::v8f64, 9},
383 {Intrinsic::floor, MVT::v16f64, 9},
[all …]
/openbsd/regress/lib/libm/cephes/
H A Dtestvect.c74 double floor (double);
258 {"floor", floor, &NAN, &NAN, 0},
259 {"floor", floor, &ZERO, &ZERO, 0},
260 {"floor", floor, &MZERO, &MZERO, 0},
261 {"floor", floor, &INF, &INF, 0},
262 {"floor", floor, &MINF, &MINF, 0},
/openbsd/gnu/llvm/clang/lib/Headers/
H A D__clang_cuda_math_forward_declares.h69 __DEVICE__ double floor(double);
70 __DEVICE__ float floor(float);
220 using ::floor;
/openbsd/gnu/gcc/libstdc++-v3/include/c_std/
H A Dstd_cmath.h68 #undef floor
245 using ::floor;
248 floor(float __x) in floor() function
252 floor(long double __x) in floor() function
258 floor(_Tp __x) in floor() function

123456789