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

1234567891011>>

/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
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/
H A D15.8.2.9.js24 ECMA Section: 15.8.2.9 Math.floor(x)
36 - the value of Math.floor(x) == -Math.ceil(-x)
44 var TITLE = "Math.floor(x)";
55 array[item++] = new TestCase( SECTION, "Math.floor.length", 1, Math.floor.length );
57 array[item++] = new TestCase( SECTION, "Math.floor()", Number.NaN, Math.floor() );
58 array[item++] = new TestCase( SECTION, "Math.floor(void 0)", Number.NaN, Math.floor(void 0) );
59 array[item++] = new TestCase( SECTION, "Math.floor(nul
[all...]
H A D15.8.2.6.js83 array[item++] = new TestCase( SECTION, "Math.ceil(Infinity)", -Math.floor(-Infinity), Math.ceil(Number.POSITIVE_INFINITY) );
84 array[item++] = new TestCase( SECTION, "Math.ceil(-Infinity)", -Math.floor(Infinity), Math.ceil(Number.NEGATIVE_INFINITY) );
85 array[item++] = new TestCase( SECTION, "Math.ceil(-Number.MIN_VALUE)", -Math.floor(Number.MIN_VALUE), Math.ceil(-Number.MIN_VALUE) );
86 array[item++] = new TestCase( SECTION, "Math.ceil(1)", -Math.floor(-1), Math.ceil(1) );
87 array[item++] = new TestCase( SECTION, "Math.ceil(-1)", -Math.floor(1), Math.ceil(-1) );
88 array[item++] = new TestCase( SECTION, "Math.ceil(-0.9)", -Math.floor(0.9), Math.ceil(-0.9) );
89 array[item++] = new TestCase( SECTION, "Math.ceil(0.9 )", -Math.floor(-0.9), Math.ceil( 0.9) );
90 array[item++] = new TestCase( SECTION, "Math.ceil(-1.1)", -Math.floor(1.1), Math.ceil( -1.1));
91 array[item++] = new TestCase( SECTION, "Math.ceil( 1.1)", -Math.floor(-1.1), Math.ceil( 1.1));
/external/valgrind/main/none/tests/
H A Dfloored.c16 return (int)floor(2.90) + 1;
/external/clang/test/CodeGen/
H A Dlibcalls-fno-builtin.c8 double floor(double x);
26 double t5(double x) { return floor(x); }
28 // CHECK: floor
/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()));
H A DFuncRound.java49 return new XNumber(java.lang.Math.floor(val
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
H A Dgrid.js91 return width ? Math.floor(this.clientWidth / width) : 0;
119 return Math.floor(index / this.columns) * this.getItemHeight_();
129 return Math.floor(index / this.columns);
219 var afterRows = Math.floor((this.dataModel.length - 1) / columns) -
220 Math.floor((lastIndex - 1) / columns);
/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);
/external/tremolo/Tremolo/
H A Dos.h61 # define rint(x) (floor((x)+0.5f))
H A Dfloor1LARM.s42 @ r2 = floor
54 LDR r5, [r2], r3,LSL #2 @ r5 = *floor r2 = floor+base
59 ADDLT r2, r2, #4 @ floor+=1
/external/v8/test/mjsunit/compiler/
H A Dmath-floor-global.js30 // Test inlining of Math.floor when assigned to a global.
31 var flo = Math.floor;
57 // Ensure that a negative zero coming from Math.floor is properly handled
60 return 1 / Math.floor(x);
148 // Regression test for a bug where a negative zero coming from Math.floor
151 var ret = Math.floor(n);
153 ret += Math.floor(n);
H A Dmath-floor-local.js30 // Test inlining of Math.floor when assigned to a local.
36 '";var f = Math.floor; return f(n)');
57 // Ensure that a negative zero coming from Math.floor is properly handled
60 return 1 / Math.floor(x);
148 // Regression test for a bug where a negative zero coming from Math.floor
151 var ret = Math.floor(n);
153 ret += Math.floor(n);
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/
H A Dtry-008.js39 if ( Math.floor(value) != value || isNaN(value) ) {
/external/v8/test/mjsunit/
H A Dstring-index.js182 var index = Math.floor(i / 50);
192 var index = Math.floor(i / 50);
200 var keys = [0, Math.floor(2) * 0.5];
203 var index = Math.floor(i / 50);
214 var index = Math.floor(i / 50);
225 var index = Math.floor(i / 50);
236 var index = Math.floor(i / 50);
246 var index = Math.floor(i / 50);
H A Dmath-floor.js34 '"' + (test_id++) + '";return Math.floor(n)');
55 // Ensure that a negative zero coming from Math.floor is properly handled
58 return 1 / Math.floor(x);
146 // Regression test for a bug where a negative zero coming from Math.floor
149 var ret = Math.floor(n);
151 ret += Math.floor(n);
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A Dstring-validate-input.js67 var l = Math.floor(26*Math.random());
78 var l = Math.floor(9*Math.random());
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A Dstring-validate-input.js67 var l = Math.floor(26*Math.random());
78 var l = Math.floor(9*Math.random());
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DSimpleBigDecimal.java154 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/
H A D07-floor1.tex8 Vorbis floor type one uses a piecewise straight-line representation to
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 following
61 \captionof{figure}{graph of example floor}
69 \captionof{figure}{graph of example floor}
74 pattern should be clear; we complete the floor computatio
[all...]
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
H A DTestBrickTower.java184 Geometry floor = new Geometry("floor", floorBox);
185 floor.setMaterial(mat3);
186 floor.setShadowMode(ShadowMode.Receive);
187 floor.setLocalTranslation(0, 0, 0);
188 floor.addControl(new RigidBodyControl(0));
189 this.rootNode.attachChild(floor);
190 this.getPhysicsSpace().add(floor);
H A DTestBrickWall.java157 Geometry floor = new Geometry("floor", floorBox);
158 floor.setMaterial(mat3);
159 floor.setShadowMode(ShadowMode.Receive);
160 floor.setLocalTranslation(0, -0.1f, 0);
161 floor.addControl(new RigidBodyControl(new BoxCollisionShape(new Vector3f(10f, 0.1f, 5f)), 0));
162 this.rootNode.attachChild(floor);
163 this.getPhysicsSpace().add(floor);
/external/replicaisland/tools/
H A DExtractPoints.js119 var column = Math.floor(tile.centerX / tileSizeX);
120 var row = Math.floor(tile.centerY / tileSizeY);
128 var tileIndex = Math.floor(row * tilesPerRow + column);
176 outputString += x + ":" + Math.floor(edge.startX) + "," +
177 Math.floor(edge.startY) + ":" + Math.floor(edge.endX) + "," +
178 Math.floor(edge.endY) + ":" + edge.normalX + "," + edge.normalY +
221 var offsetX = Math.floor(x % tilesPerRow) * tileSizeX;
222 var offsetY = Math.floor(x / tilesPerRow) * tileSizeY;
/external/jmonkeyengine/engine/src/test/jme3test/light/
H A DTestSpotLight.java103 Box floor = new Box(Vector3f.ZERO, 50, 1f, 50);
104 TangentBinormalGenerator.generate(floor);
105 floor.scaleTextureCoordinates(new Vector2f(5, 5));
106 Geometry floorGeom = new Geometry("Floor", floor);

Completed in 6969 milliseconds

1234567891011>>