Home
last modified time | relevance | path

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

12345678910>>...17

/netbsd-src/external/lgpl3/gmp/dist/tests/mpf/
H A Dt-trunc.c42 check_one (mpf_srcptr src, mpf_srcptr trunc, mpf_srcptr ceil, mpf_srcptr floor) in check_one() argument
49 ASSERT_ALWAYS (PREC(got) == PREC(floor)); in check_one()
64 CHECK_SEP ("mpf_floor", mpf_floor, floor); in check_one()
84 CHECK_INPLACE ("mpf_floor", mpf_floor, floor); in check_one()
91 check_all (mpf_ptr src, mpf_ptr trunc, mpf_ptr ceil, mpf_ptr floor) in check_all() argument
97 MPF_CHECK_FORMAT (floor); in check_all()
99 check_one (src, trunc, ceil, floor); in check_all()
104 mpf_neg (floor, floor); in check_all()
105 check_one (src, trunc, floor, ceil); in check_all()
111 mpf_t src, trunc, ceil, floor; in check_various() local
[all …]
/netbsd-src/external/mit/isl/dist/test_inputs/codegen/
H A Dcorrelation.st5floor((j)/32))]; S_27[i, j, k] -> [(32*floor((i)/32))]; S_14[j] -> [(0)] }, { S_19[i, j] -> [(32*f…
10floor((j)/32))]; S_27[i, j, k] -> [(i - 32*floor((i)/32))]; S_14[j] -> [(0)] }, { S_19[i, j] -> [(…
H A Disolate7.st6 … [{ S_1[i, j] -> [(32*floor((i)/32))]; S_2[i] -> [(32*floor((i)/32))] }, { S_1[i, j] -> [(32*floor
8floor((i0)/32), e1 = floor((i1)/32): 32e0 = i0 and 32e1 = i1 and i0 >= 0 and i0 <= -32 + n and i1 …
10 … j] -> [(i - 32*floor((i)/32))]; S_2[i] -> [(i - 32*floor((i)/32))] }, { S_1[i, j] -> [(j - 32*flo…
H A Dredundant.st2floor((4 + o2)/8), e1 = floor((5 + o2)/8), e2 = floor((4 + o2)/262144), e3, e4: o1 <= 1 and o1 >= …
H A Dlu.in2floor((o2)/32), e1 = floor((o0)/32): 32e0 = o2 and 32e1 = o0 and o0 <= k and o0 >= -31 + k and k >…
H A Dbilinear.st3 …>= 0 and ((d < 0 and 2*floor((1 + d)/2) < w - i0) or (d >= 0 and 2*floor((d)/2) < w - i0)); B[i0] …
H A Dcholesky.st7 …schedule: "[{ S_3[i, j, k] -> [(32*floor((2j + k)/32))] }, { S_3[i, j, k] -> [(32*floor((i)/32))] …
9 … schedule: "[{ S_3[i, j, k] -> [(2j + k - 32*floor((2j + k)/32))] }, { S_3[i, j, k] -> [(i)] }]"
H A Dstride7.in2 { s4[a, b] -> [a, 2, b] : exists (e0 = floor((-2 + a)/64):
4 s2[a, b] -> [a, 2, b] : exists (e0 = floor((-2 + a)/64):
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/math/
H A Drounding.d188 real floor(real x) @trusted pure nothrow @nogc in floor() function
247 assert(floor(+123.456L) == +123);
248 assert(floor(-123.456L) == -124);
249 assert(floor(+123.0L) == +123);
250 assert(floor(-124.0L) == -124);
251 assert(floor(-1.234L) == -2);
252 assert(floor(-0.123L) == -1);
253 assert(floor(0.0L) == 0);
254 assert(floor(+0.123L) == 0);
255 assert(floor(+1.234L) == 1);
[all …]
/netbsd-src/external/mit/isl/dist/test_inputs/codegen/cloog/
H A Dmxm-shared.st1floor((g1)/128), e1 = floor((128b1 - g1)/4096), e2 = floor((-8b0 + g0)/128), e3 = floor((-t0 + i1)…
3 … g1, g2, g3, g4, t0, t1] -> { [] : exists (e0 = floor((g0)/8), e1 = floor((-128b1 + g1)/4096), e2 …
H A Djacobi-shared.st1 … exists (e0 = floor((-1 + h0)/2), e1 = floor((-32b0 + g1)/2048), e2 = floor((-32b1 + g2)/1024), e3…
3 …0, b1, g0, g1, g2, g3, g4, t0, t1] -> { [] : exists (e0 = floor((-32b0 + g1)/2048), e1 = floor((-3…
/netbsd-src/external/lgpl3/gmp/dist/tests/cxx/
H A Dt-ops2f.cc29 CHECK1(mpf_class,1.9,floor); in checkf()
32 CHECK1(mpf_class,4.3,floor); in checkf()
35 CHECK1(mpf_class,-7.1,floor); in checkf()
38 CHECK1(mpf_class,-2.8,floor); in checkf()
41 CHECK1(mpf_class,-1.5,floor); in checkf()
44 CHECK1(mpf_class,2.5,floor); in checkf()
/netbsd-src/games/phantasia/
H A Dmisc.c232 Menu[0].cost, floor(Player.p_gold / Menu[0].cost)); in tradingpost()
233 cost = (numitems = floor(infloat())) * Menu[0].cost; in tradingpost()
249 Menu[1].cost, floor(Player.p_gold / Menu[1].cost)); in tradingpost()
250 cost = (numitems = floor(infloat())) * Menu[1].cost; in tradingpost()
272 Menu[2].cost, floor(Player.p_gold / Menu[2].cost)); in tradingpost()
273 cost = (numitems = floor(infloat())) * Menu[2].cost; in tradingpost()
288 Player.p_brains += floor(numitems) * ROLL(20, 8); in tradingpost()
295 Menu[3].cost, floor(Player.p_gold / Menu[3].cost)); in tradingpost()
296 cost = (numitems = floor(infloat())) * Menu[3].cost; in tradingpost()
318 Menu[4].cost, floor(Player.p_gold / Menu[4].cost)); in tradingpost()
[all …]
H A Dinterplayer.c356 Player.p_1scratch = floor(Player.p_1scratch); /* clean up any mess */ in myturn()
418 Player.p_gold = floor(Player.p_gold / 1.25) + 0.1; in tampered()
708 Enrgyvoid.ev_x = floor(temp1); in dotampered()
709 Enrgyvoid.ev_y = floor(temp2); in dotampered()
741 Player.p_gold += floor(temp1); in dotampered()
855 Player.p_gold -= floor(temp1); in dotampered()
860 Other.p_1scratch = floor(temp1); in dotampered()
861 Other.p_2scratch = floor(temp2); in dotampered()
/netbsd-src/lib/libm/noieee_src/
H A Dn_floor.c49 __weak_alias(floorl, floor) in __weak_alias()
61 floor(double x) in __weak_alias()
83 return floor((double)x); in floorf()
98 return -floor(-x); in ceil()
232 return x < 0 ? ceil(x) : floor(x); in trunc()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dml/
H A Damdgpu_dml_common_defs.c40 double floor = dml_floor(a, 1); in dml_round() local
42 if (a - floor >= round_pt) in dml_round()
45 return floor; in dml_round()
/netbsd-src/lib/libm/src/
H A Ds_floor.c31 __strong_alias(_floorl, floor)
32 __weak_alias(floorl, floor)
38 floor(double x) in floor() function
H A Ds_round.c53 t = floor(x); in __strong_alias()
59 t = floor(x); in __strong_alias()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/sh/
H A Ddivtab.c87 double y0 = (constant - (int) floor ((x * factor * 64.))) / 16384.; in calc_defect()
93 y1 = floor (y1 * (1024 * 1024 * 1024)) / (1024 * 1024 * 1024); in calc_defect()
105 y2d0 = floor (y1 * x * (1LL << 60-16)); in calc_defect()
107 y2d = - floor ((y1 - y0 / (1<<30-14)) * y2d1) / (1LL<<44); in calc_defect()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/sh/
H A Ddivtab.cc87 double y0 = (constant - (int) floor ((x * factor * 64.))) / 16384.; in calc_defect()
93 y1 = floor (y1 * (1024 * 1024 * 1024)) / (1024 * 1024 * 1024); in calc_defect()
105 y2d0 = floor (y1 * x * (1LL << 60-16)); in calc_defect()
107 y2d = - floor ((y1 - y0 / (1<<30-14)) * y2d1) / (1LL<<44); in calc_defect()
/netbsd-src/external/mit/isl/dist/
H A Disl_multi_floor.c14 __isl_give MULTI(BASE) *FN(MULTI(BASE),floor)(__isl_take MULTI(BASE) *multi) in MULTI()
16 S(MULTI(BASE),un_op_control) control = { .fn_el = &FN(EL,floor) }; in MULTI()
/netbsd-src/external/mit/isl/dist/test_inputs/schedule/
H A Dflat4.sc3 domain: { S[0, a, floor(a/2), floor(a/4)] : 0 <= a <= 9 }
H A Dflat3.sc3 domain: { S[a, floor(a/2), floor(a/4)] : 0 <= a <= 9 }
/netbsd-src/external/mit/isl/dist/test_inputs/flow/
H A Dmixed_loop-tree.ai2 must_source: "{ T[i] -> a[] : 2*floor((i)/2) = i and 0 <= i <= 9 }"
3 may_source: "{ T[i] -> a[] : 2*floor((1 + i)/2) = 1 + i and 0 <= i <= 9 }"
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mca/Views/
H A DSummaryView.cpp77 << format("%.2f", floor((DV.UOpsPerCycle * 100) + 0.5) / 100); in printView()
79 << format("%.2f", floor((DV.IPC * 100) + 0.5) / 100); in printView()
81 << format("%.1f", floor((DV.BlockRThroughput * 10) + 0.5) / 10) in printView()

12345678910>>...17