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

1234567891011>>

/external/chromium_org/v8/test/mjsunit/
H A Dmath-floor-of-div-nosudiv.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-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/chromium_org/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-171641.js34 m = Math.floor((k | 0) / p);
H A Dregress-334708.js31 return Math.floor(x / y);
H A Dregress-2326.js39 while (--iterations > 0) accumulator = Math.floor(accumulator);
H A Dregress-smi-math-floor-round.js32 return Math.floor(o.x_smi) + 1;
41 return Math.floor(o.x_tagged) + 1;
/external/valgrind/main/none/tests/
H A Dfloored.c16 return (int)floor(2.90) + 1;
/external/chromium-trace/trace-viewer/src/base/
H A Dcolor.js9 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 DShadowFloatMath.java27 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 Dos_specific_inline.h35 x_int = (long int)floor(x_dbl + 0.499999999999);
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Dos_specific_inline.h36 x_int = (long int)floor(x_dbl + 0.499999999999);
/external/chromium_org/third_party/angle/src/common/
H A Dmathutil.cpp45 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 Dnheap.js61 $('#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 Dsafe_integer_conversions.h26 return ClampToInt(std::floor(value));
36 rounded = std::floor(value + 0.5f);
/external/apache-xml/src/main/java/org/apache/xpath/functions/
H A DFuncFloor.java45 return new XNumber(java.lang.Math.floor(m_arg0.execute(xctxt).num()));
/external/chromium_org/chrome/browser/resources/local_ntp/
H A Dinstant_iframe_validation.js19 if (isFinite(color) && Math.floor(color) == color &&
/external/chromium_org/chrome/common/extensions/docs/examples/api/topsites/magic8ball/
H A DnewTab.js11 var rand = Math.floor(Math.random() * data.length);
/external/chromium_org/third_party/skia/experimental/SkV8Example/
H A Dsnow.js26 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 Dsnow.js26 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 Dround_fpu64.stdout.exp1179 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 Dos.h41 # 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);

Completed in 579 milliseconds

1234567891011>>