/external/libvorbis/lib/books/ |
Makefile.am | 3 SUBDIRS = coupled uncoupled floor
|
/external/chromium_org/v8/test/mjsunit/ |
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(k / 3)) [all...] |
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(k / 3)) [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
TestFloor.rs | 24 return floor(in); 28 return floor(in); 32 return floor(in); 36 return floor(in);
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
s_round.c | 41 t = floor(x); 46 t = floor(-x);
|
s_floor.c | 17 * floor(x) 22 * Inexact flag raised if x not equal to floor(x). 33 floor(double x) function 77 __weak_reference(floor, floorl);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
os_specific_inline.h | 35 x_int = (long int)floor(x_dbl + 0.499999999999);
|
/external/chromium_org/third_party/angle/src/common/ |
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);
|
/cts/tests/tests/util/src/android/util/cts/ |
FloatMathTest.java | 27 // floor 28 assertEquals(7.0f, FloatMath.floor(7.2f)); 29 assertEquals(-7.0f, FloatMath.floor(-6.3f));
|
/external/chromium_org/third_party/skia/experimental/SkV8Example/ |
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/chromium_org/ui/gfx/geometry/ |
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/ |
FuncFloor.java | 28 * Execute the Floor() function. 45 return new XNumber(java.lang.Math.floor(m_arg0.execute(xctxt).num()));
|
FuncRound.java | 49 return new XNumber(java.lang.Math.floor(val
|
/external/libvorbis/lib/ |
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);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
RenderCoordinates.java | 167 public int getScrollXPixInt() { return (int) Math.floor(getScrollXPix()); } 172 public int getScrollYPixInt() { return (int) Math.floor(getScrollYPix()); } 287 return (int) Math.floor(getMaxHorizontalScrollPix()); 294 return (int) Math.floor(getMaxVerticalScrollPix());
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_format_rgb9e5.h | 121 maxm = (int) floor(maxrgb / denom + 0.5); 130 rm = (int) floor(rc / denom + 0.5); 131 gm = (int) floor(gc / denom + 0.5); 132 bm = (int) floor(bc / denom + 0.5);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_rgb9e5.h | 121 maxm = (int) floor(maxrgb / denom + 0.5); 130 rm = (int) floor(rc / denom + 0.5); 131 gm = (int) floor(gc / denom + 0.5); 132 bm = (int) floor(bc / denom + 0.5);
|
/bionic/libstdc++/include/ |
cmath | 69 using ::floor;
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
LayoutUnitTest.cpp | 234 ASSERT_EQ(LayoutUnit(0).floor(), 0); 235 ASSERT_EQ(LayoutUnit(0.1).floor(), 0); 236 ASSERT_EQ(LayoutUnit(0.5).floor(), 0); 237 ASSERT_EQ(LayoutUnit(0.9).floor(), 0); 238 ASSERT_EQ(LayoutUnit(1.0).floor(), 1); 239 ASSERT_EQ(LayoutUnit(1.1).floor(), 1); 241 ASSERT_EQ(LayoutUnit(-0.1).floor(), -1); 242 ASSERT_EQ(LayoutUnit(-0.5).floor(), -1); 243 ASSERT_EQ(LayoutUnit(-0.9).floor(), -1); 244 ASSERT_EQ(LayoutUnit(-1.0).floor(), -1) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
SimpleBigDecimal.java | 154 public BigInteger floor() method in class:SimpleBigDecimal 162 return add(oneHalf.adjustScale(scale)).floor(); 167 return floor().intValue(); 172 return floor().longValue(); 197 BigInteger floorBigInt = floor();
|
/external/libvorbis/doc/ |
07-floor1.tex | 4 \section{Floor type 1 setup and decode} \label{vorbis:spec:floor1} 8 Vorbis floor type one uses a piecewise straight-line representation to 16 \subsection{Floor 1 format} 20 Floor type one represents a spectral curve as a series of 21 line segments. Synthesis constructs a floor curve using iterative 28 full range of the spectral floor to be computed. 35 \item floor computation produces two new line segments, one running from 42 the codec setup header at floor 1 initialization time. Computation 51 For the below example, we assume a floor setup with an [n] of 128. 56 -45, 0, -25, -10, 30 and -10. We compute the floor in the followin [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/ |
vp9_systemdependent.h | 41 return (int)floor(x + 0.5); 61 // Returns (int)floor(log2(n)). n must be > 0.
|
/external/chromium_org/third_party/smhasher/src/ |
AvalancheTest.cpp | 23 int s = (int)floor(b*10);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
TimedTrace.cc | 51 unsigned int minutes = (uint32_t) floor(_timeEllapsedSec / 60.0);
|
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/ |
bouncing_balls_draw_ball_as_canvas_sprite.js | 29 var q = Math.floor(a / b); 36 var idx = safeMod(Math.floor(angle * spriteMapSize / (2 * Math.PI)),
|