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

1234567891011>>

/external/v8/test/mjsunit/
H A Dmath-floor-of-div-nosudiv.js55 assertEquals(Math.floor(div(k, 1)), Math.floor(k / 1));
56 assertEquals(Math.floor(div(k, -1)), Math.floor(k / -1));
57 assertEquals(Math.floor(div(k, 2)), Math.floor(k / 2));
58 assertEquals(Math.floor(div(k, -2)), Math.floor(k / -2));
59 assertEquals(Math.floor(div(k, 3)), Math.floor(
[all...]
H A Dmath-floor-of-div.js54 assertEquals(Math.floor(div(k, 1)), Math.floor(k / 1));
55 assertEquals(Math.floor(div(k, -1)), Math.floor(k / -1));
56 assertEquals(Math.floor(div(k, 2)), Math.floor(k / 2));
57 assertEquals(Math.floor(div(k, -2)), Math.floor(k / -2));
58 assertEquals(Math.floor(div(k, 3)), Math.floor(
[all...]
H A Dmath-floor-negative.js33 return Math.floor(-100000000000.5) / 10;
38 return Math.floor(-100.2);
44 return Math.floor(-2147483648.1) / 10;
H A Dmath-floor-of-div-minus-zero.js34 assertTrue(0 === (Math.floor((zero_in_array[0] | 0) / -1) | 0));
/external/libvorbis/lib/books/
H A DMakefile.am3 SUBDIRS = coupled uncoupled floor
/external/v8/test/mjsunit/regress/
H A Dregress-1177518.js32 Math.floor = 0;
35 // uses Math.floor
38 // uses Math.abs, Math.floor and isFinite
H A Dregress-crbug-476477-2.js8 var s = Math.floor(x / 3600);
9 Math.floor(s);
H A Dregress-crbug-476477-1.js8 var s = Math.floor(this._leftTime / 3600);
9 var e = Math.floor(s / 24);
H A Dregress-171641.js34 m = Math.floor((k | 0) / p);
H A Dregress-334708.js31 return Math.floor(x / y);
H A Dregress-437765.js8 return Math.floor(x / y);
H A Dregress-2326.js39 while (--iterations > 0) accumulator = Math.floor(accumulator);
H A Dregress-4507.js8 return Math.floor(value/65536);
/external/valgrind/none/tests/
H A Dfloored.c16 return (int)floor(2.90) + 1;
/external/v8/test/mjsunit/compiler/
H A Dregress-4389-3.js7 function foo(x) { Math.floor(x); }
/external/v8/tools/turbolizer/
H A Dmonkey.js9 var middle = Math.floor(this.length / 2);
25 return Math.floor((raw + multiple - 1) / multiple) * multiple;
/external/jemalloc/test/unit/
H A Drun_quantize.c60 size_t lrun_size, run_size, floor, ceil; local
67 floor = run_quantize_floor(run_size);
70 assert_zu_eq(run_size, floor,
88 run_size_prev = floor;
101 * run_quantize_{floor,ceil}() are monotonic.
115 size_t run_size, floor, ceil; local
118 floor = run_quantize_floor(run_size);
121 assert_zu_le(floor, run_size,
122 "Floor should be <= (floor=%zu, run_size=%zu, ceil=%zu)",
123 floor, run_siz
[all...]
/external/v8/test/mjsunit/asm/
H A Dmath-floor.js8 var floor = stdlib.Math.floor;
13 return floor(a);
/external/libvpx/libvpx/vpx_ports/
H A Dmsvc.h27 return floor(x + 0.5);
/external/opencv3/3rdparty/openexr/IlmImf/
H A DImfRational.cpp55 return x - floor (x + e);
79 return floor (1 / x + e);
84 floor (1 / x + e) * denom (frac (1 / x, e), e / square (x));
121 n = sign * (int) floor (x * d + 0.5);
/external/valgrind/none/tests/x86-darwin/
H A Dbug350062.c10 double i = floor(x);
/external/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/java/lang/
H A DStrictMath.java47 public static double floor(double a) { method in class:StrictMath
48 return Math.floor(a);
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowFloatMath.java27 public static float floor(float value) { method in class:ShadowFloatMath
28 return (float) Math.floor(value);
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
H A Dos_specific_inline.h35 x_int = (long int)floor(x_dbl + 0.499999999999);
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
H A DAbstractIntegerDistribution.java70 return cumulativeProbability((int) FastMath.floor(x));
93 if (FastMath.floor(x0) < x0) {
94 return cumulativeProbability(((int) FastMath.floor(x0)) + 1,
95 (int) FastMath.floor(x1)); // don't want to count mass below x0
97 return cumulativeProbability((int) FastMath.floor(x0),
98 (int) FastMath.floor(x1));
126 double fl = FastMath.floor(x);

Completed in 1012 milliseconds

1234567891011>>