/external/chromium_org/v8/test/mjsunit/ |
H A D | math-floor-of-div-nosudiv.js | 54 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 D | math-floor-of-div.js | 54 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 D | math-floor-negative.js | 33 return Math.floor(-100000000000.5) / 10; 38 return Math.floor(-100.2); 44 return Math.floor(-2147483648.1) / 10;
|
H A D | math-floor-of-div-minus-zero.js | 34 assertTrue(0 === (Math.floor((zero_in_array[0] | 0) / -1) | 0));
|
/external/libvorbis/lib/books/ |
H A D | Makefile.am | 3 SUBDIRS = coupled uncoupled floor
|
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-1177518.js | 32 Math.floor = 0; 35 // uses Math.floor 38 // uses Math.abs, Math.floor and isFinite
|
H A D | regress-171641.js | 34 m = Math.floor((k | 0) / p);
|
H A D | regress-334708.js | 31 return Math.floor(x / y);
|
H A D | regress-2326.js | 39 while (--iterations > 0) accumulator = Math.floor(accumulator);
|
H A D | regress-smi-math-floor-round.js | 32 return Math.floor(o.x_smi) + 1; 41 return Math.floor(o.x_tagged) + 1;
|
/external/valgrind/main/none/tests/ |
H A D | floored.c | 16 return (int)floor(2.90) + 1;
|
/external/chromium-trace/trace-viewer/src/base/ |
H A D | color.js | 9 this.r = Math.floor(opt_r) || 0; 10 this.g = Math.floor(opt_g) || 0; 11 this.b = Math.floor(opt_b) || 0; 77 Math.min(255, this.r + Math.floor(this.r * k)), 78 Math.min(255, this.g + Math.floor(this.g * k)), 79 Math.min(255, this.b + Math.floor(this.b * k))); 87 Math.min(255, this.r - Math.floor(this.r * k)), 88 Math.min(255, this.g - Math.floor(this.g * k)), 89 Math.min(255, this.b - Math.floor(this.b * k)));
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowFloatMath.java | 27 public static float floor(float value) { method in class:ShadowFloatMath 28 return (float) Math.floor(value);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
H A D | os_specific_inline.h | 35 x_int = (long int)floor(x_dbl + 0.499999999999);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
H A D | os_specific_inline.h | 36 x_int = (long int)floor(x_dbl + 0.499999999999);
|
/external/chromium_org/third_party/angle/src/common/ |
H A D | mathutil.cpp | 45 const float exp_p = std::max<float>(-g_sharedexp_bias - 1, floor(log(max_c))) + 1 + g_sharedexp_bias; 46 const int max_s = floor((max_c / (pow(2.0f, exp_p - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f); 50 output.R = floor((red_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f); 51 output.G = floor((green_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f); 52 output.B = floor((blue_c / (pow(2.0f, exp_s - g_sharedexp_bias - g_sharedexp_mantissabits))) + 0.5f);
|
/external/chromium_org/tools/memory_inspector/memory_inspector/frontends/www_content/js/ |
H A D | nheap.js | 61 $('#nheap-total-allocated').val(Math.floor(total_allocated / 1024) + ' KB'); 62 $('#nheap-total-resident').val(Math.floor(total_resident / 1024) + ' KB'); 80 $('#nheap-selected-allocated').val(Math.floor(total_allocated / 1024) + 82 $('#nheap-selected-resident').val(Math.floor(total_resident / 1024) + ' KB');
|
/external/chromium_org/ui/gfx/geometry/ |
H A D | safe_integer_conversions.h | 26 return ClampToInt(std::floor(value)); 36 rounded = std::floor(value + 0.5f);
|
/external/apache-xml/src/main/java/org/apache/xpath/functions/ |
H A D | FuncFloor.java | 45 return new XNumber(java.lang.Math.floor(m_arg0.execute(xctxt).num()));
|
/external/chromium_org/chrome/browser/resources/local_ntp/ |
H A D | instant_iframe_validation.js | 19 if (isFinite(color) && Math.floor(color) == color &&
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/topsites/magic8ball/ |
H A D | newTab.js | 11 var rand = Math.floor(Math.random() * data.length);
|
/external/chromium_org/third_party/skia/experimental/SkV8Example/ |
H A D | snow.js | 26 x: Math.floor(Math.random()*W), 27 y: Math.floor(Math.random()*H), 28 r: Math.floor(Math.random()*7+1), 41 p.x += Math.floor(Math.sin(angle)*5.0);
|
/external/skia/experimental/SkV8Example/ |
H A D | snow.js | 26 x: Math.floor(Math.random()*W), 27 y: Math.floor(Math.random()*H), 28 r: Math.floor(Math.random()*7+1), 41 p.x += Math.floor(Math.sin(angle)*5.0);
|
/external/valgrind/main/none/tests/mips32/ |
H A D | round_fpu64.stdout.exp | 1179 floor.l.s 0 0.000000 1181 floor.l.s 456 456.250000 1183 floor.l.s 3 3.000000 1185 floor.l.s -1 -1.000000 1187 floor.l.s 1384 1384.500000 1189 floor.l.s -8 -7.250000 1191 floor.l.s 1000000000 1000000000.000000 1193 floor.l.s -5787 -5786.250000 1195 floor.l.s 1752 1752.000000 1197 floor [all...] |
/external/libvorbis/lib/ |
H A D | os.h | 41 # define rint(x) (floor((x)+0.5f)) 50 # define rint(x) (floor((x)+0.5f)) 175 the floor() call is required to ensure correct roudning of 177 return (int)floor(f+.5);
|