| /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dml/ |
| amdgpu_dml_common_defs.c | 40 double floor = dml_floor(a, 1); local 42 if (a - floor >= round_pt) 45 return floor;
|
| /src/external/mit/isl/dist/ |
| isl_multi_floor.c | 12 /* Given f, return floor(f). 14 __isl_give MULTI(BASE) *FN(MULTI(BASE),floor)(__isl_take MULTI(BASE) *multi) 16 S(MULTI(BASE),un_op_control) control = { .fn_el = &FN(EL,floor) };
|
| /src/external/bsd/jemalloc/dist/test/unit/ |
| extent_quantize.c | 60 size_t lextent_size, extent_size, floor, ceil; local 68 floor = sz_psz_quantize_floor(extent_size); 71 expect_zu_eq(extent_size, floor, 83 "Floor should be a precise size"); 93 extent_size_prev = floor; 109 size_t extent_size, floor, ceil; local 112 floor = sz_psz_quantize_floor(extent_size); 115 expect_zu_le(floor, extent_size, 116 "Floor should be <= (floor=%zu, extent_size=%zu, ceil=%zu)" [all...] |
| /src/external/bsd/jemalloc.old/dist/test/unit/ |
| extent_quantize.c | 60 size_t lextent_size, extent_size, floor, ceil; local 68 floor = sz_psz_quantize_floor(extent_size); 71 expect_zu_eq(extent_size, floor, 83 "Floor should be a precise size"); 93 extent_size_prev = floor; 109 size_t extent_size, floor, ceil; local 112 floor = sz_psz_quantize_floor(extent_size); 115 expect_zu_le(floor, extent_size, 116 "Floor should be <= (floor=%zu, extent_size=%zu, ceil=%zu)" [all...] |
| /src/external/lgpl3/gmp/dist/tests/mpf/ |
| t-trunc.c | 42 check_one (mpf_srcptr src, mpf_srcptr trunc, mpf_srcptr ceil, mpf_srcptr floor) 49 ASSERT_ALWAYS (PREC(got) == PREC(floor)); 64 CHECK_SEP ("mpf_floor", mpf_floor, floor); 84 CHECK_INPLACE ("mpf_floor", mpf_floor, floor); 91 check_all (mpf_ptr src, mpf_ptr trunc, mpf_ptr ceil, mpf_ptr floor) 97 MPF_CHECK_FORMAT (floor); 99 check_one (src, trunc, ceil, floor); 104 mpf_neg (floor, floor); 105 check_one (src, trunc, floor, ceil) 111 mpf_t src, trunc, ceil, floor; local [all...] |
| /src/external/gpl2/groff/dist/src/libs/libgroff/ |
| fmod.c | 20 Foundation, 51 Franklin St - Fifth Floor, Boston, MA 02110-1301, USA. */ 28 return x - (quot < 0.0 ? ceil(quot) : floor(quot)) * y;
|
| /src/external/lgpl3/gmp/dist/tests/cxx/ |
| t-ops2f.cc | 29 CHECK1(mpf_class,1.9,floor); 32 CHECK1(mpf_class,4.3,floor); 35 CHECK1(mpf_class,-7.1,floor); 38 CHECK1(mpf_class,-2.8,floor); 41 CHECK1(mpf_class,-1.5,floor); 44 CHECK1(mpf_class,2.5,floor);
|
| /src/games/phantasia/ |
| macros.h | 7 #define ROLL(BASE,INTERVAL) floor((BASE) + (INTERVAL) * drandom()) 9 #define CIRCLE(X, Y) floor(distance(X, 0.0, Y, 0.0) / 125.0 + 1)
|
| /src/lib/libm/src/ |
| s_round.c | 53 t = floor(x); 59 t = floor(x);
|
| w_gamma.c | 37 if(floor(x)==x&&x<=0.0)
|
| w_gamma_r.c | 35 if(floor(x)==x&&x<=0.0)
|
| w_lgamma.c | 37 if(floor(x)==x&&x<=0.0)
|
| w_lgamma_r.c | 35 if(floor(x)==x&&x<=0.0)
|
| s_floor.c | 19 * floor(x) 24 * Inexact flag raised if x not equal to floor(x). 31 __strong_alias(_floorl, floor) 32 __weak_alias(floorl, floor) 38 floor(double x) function
|
| /src/lib/libm/arch/m68k/ |
| s_floor.S | 39 ;.asciz "from: @(#)floor.s 5.1 (Berkeley) 5/17/90" 43 | floor(x) 45 ENTRY(floor) function
|
| /src/external/gpl3/gcc.old/dist/libphobos/src/std/math/ |
| rounding.d | 9 D implementations of floor, ceil, and lrint functions are based on the 188 real floor(real x) @trusted pure nothrow @nogc 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) [all...] |
| /src/external/bsd/jemalloc/dist/src/ |
| ticker.py | 9 mul = math.floor(-byte_max/math.log(1 / table_size))
|
| /src/external/bsd/jemalloc.old/dist/src/ |
| ticker.py | 9 mul = math.floor(-byte_max/math.log(1 / table_size))
|
| /src/lib/libm/noieee_src/ |
| n_floor.c | 33 static char sccsid[] = "@(#)floor.c 8.1 (Berkeley) 6/4/93"; 49 __weak_alias(floorl, floor) 54 * floor(x) := the largest integer no larger than x; 55 * ceil(x) := -floor(-x), for all real x. 61 floor(double x) 83 return floor((double)x); 98 return -floor(-x); 232 return x < 0 ? ceil(x) : floor(x);
|
| /src/external/gpl3/gcc/dist/contrib/ |
| dg-out-generator.pl | 32 use POSIX 'floor'; 42 my $bnd = join '', (map chr 64 + rand 27, 1 .. floor $sz);
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-mca/Views/ |
| RetireControlUnitStatistics.cpp | 75 double NormalizedMaxPercentage = floor((MaxUsagePercentage * 10) + 0.5) / 10; 77 double NormalizedAvgPercentage = floor((AvgUsagePercentage * 10) + 0.5) / 10;
|
| SummaryView.cpp | 77 << format("%.2f", floor((DV.UOpsPerCycle * 100) + 0.5) / 100); 79 << format("%.2f", floor((DV.IPC * 100) + 0.5) / 100); 81 << format("%.1f", floor((DV.BlockRThroughput * 10) + 0.5) / 10)
|
| DispatchStatistics.cpp | 44 << " (" << format("%.1f", floor((Percentage * 10) + 0.5) / 10) 61 << format("%.1f", floor((Percentage * 10) + 0.5) / 10) << "%)";
|
| /src/lib/libm/arch/i387/ |
| s_floor.S | 10 ENTRY(floor) function
|
| /src/external/bsd/ntp/dist/libntp/ |
| timexsup.c | 43 dval = floor(dval + 0.5);
|