| /netbsd-src/external/lgpl3/gmp/dist/tests/mpf/ |
| H A D | t-trunc.c | 42 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 D | correlation.st | 5 …floor((j)/32))]; S_27[i, j, k] -> [(32*floor((i)/32))]; S_14[j] -> [(0)] }, { S_19[i, j] -> [(32*f… 10 …floor((j)/32))]; S_27[i, j, k] -> [(i - 32*floor((i)/32))]; S_14[j] -> [(0)] }, { S_19[i, j] -> [(…
|
| H A D | isolate7.st | 6 … [{ S_1[i, j] -> [(32*floor((i)/32))]; S_2[i] -> [(32*floor((i)/32))] }, { S_1[i, j] -> [(32*floor… 8 …floor((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 D | redundant.st | 2 …floor((4 + o2)/8), e1 = floor((5 + o2)/8), e2 = floor((4 + o2)/262144), e3, e4: o1 <= 1 and o1 >= …
|
| H A D | lu.in | 2 …floor((o2)/32), e1 = floor((o0)/32): 32e0 = o2 and 32e1 = o0 and o0 <= k and o0 >= -31 + k and k >…
|
| H A D | bilinear.st | 3 …>= 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 D | cholesky.st | 7 …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 D | stride7.in | 2 { 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 D | rounding.d | 188 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 D | mxm-shared.st | 1 …floor((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 D | jacobi-shared.st | 1 … 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 D | t-ops2f.cc | 29 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 D | misc.c | 232 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 D | interplayer.c | 356 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 D | n_floor.c | 49 __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 D | amdgpu_dml_common_defs.c | 40 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 D | s_floor.c | 31 __strong_alias(_floorl, floor) 32 __weak_alias(floorl, floor) 38 floor(double x) in floor() function
|
| H A D | s_round.c | 53 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 D | divtab.c | 87 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 D | divtab.cc | 87 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 D | isl_multi_floor.c | 14 __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 D | flat4.sc | 3 domain: { S[0, a, floor(a/2), floor(a/4)] : 0 <= a <= 9 }
|
| H A D | flat3.sc | 3 domain: { S[a, floor(a/2), floor(a/4)] : 0 <= a <= 9 }
|
| /netbsd-src/external/mit/isl/dist/test_inputs/flow/ |
| H A D | mixed_loop-tree.ai | 2 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 D | SummaryView.cpp | 77 << 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()
|