HomeSort by relevance Sort by last modified time
    Searched full:math (Results 26 - 50 of 2517) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/
15.8.2.4.js 41 var TITLE = "Math.atan()";
53 array[item++] = new TestCase( SECTION, "Math.atan.length", 1, Math.atan.length );
55 array[item++] = new TestCase( SECTION, "Math.atan()", Number.NaN, Math.atan() );
56 array[item++] = new TestCase( SECTION, "Math.atan(void 0)", Number.NaN, Math.atan(void 0) );
57 array[item++] = new TestCase( SECTION, "Math.atan(null)", 0, Math.atan(null) );
58 array[item++] = new TestCase( SECTION, "Math.atan(NaN)", Number.NaN, Math.atan(Number.NaN) )
    [all...]
15.8.1.2-2.js 25 Description: All value properties of the Math object should have
28 this test checks the DontDelete attribute of Math.LN10
37 var TITLE = "Math.LN10";
46 array[item++] = new TestCase( SECTION, "delete( Math.LN10 ); Math.LN10", 2.302585092994046, "delete(Math.LN10); Math.LN10" );
47 array[item++] = new TestCase( SECTION, "delete( Math.LN10 ); ", false, "delete(Math.LN10)" );
15.8.1.4-2.js 25 Description: All value properties of the Math object should have
28 this test checks the DontDelete attribute of Math.LOG2E
37 var TITLE = "Math.LOG2E";
47 array[item++] = new TestCase( SECTION, "delete(Math.L0G2E);Math.LOG2E", 1.4426950408889634, "delete(Math.LOG2E);Math.LOG2E" );
48 array[item++] = new TestCase( SECTION, "delete(Math.L0G2E)", false, "delete(Math.LOG2E)" );
15.8.1.5-2.js 25 Description: All value properties of the Math object should have
28 this test checks the DontDelete attribute of Math.LOG10E
37 var TITLE = "Math.LOG10E";
48 array[item++] = new TestCase( SECTION, "delete Math.LOG10E; Math.LOG10E", 0.4342944819032518, "delete Math.LOG10E; Math.LOG10E" );
49 array[item++] = new TestCase( SECTION, "delete Math.LOG10E", false, "delete Math.LOG10E" );
15.8.1.7-2.js 25 Description: All value properties of the Math object should have
28 this test checks the DontDelete attribute of Math.SQRT1_2
37 var TITLE = "Math.SQRT1_2";
47 array[item++] = new TestCase( SECTION, "delete Math.SQRT1_2; Math.SQRT1_2", 0.7071067811865476, "delete Math.SQRT1_2; Math.SQRT1_2" );
48 array[item++] = new TestCase( SECTION, "delete Math.SQRT1_2", false, "delete Math.SQRT1_2" );
15.8.1.8-2.js 25 Description: All value properties of the Math object should have
28 this test checks the DontDelete attribute of Math.SQRT2
36 var TITLE = "Math.SQRT2";
46 array[item++] = new TestCase( SECTION, "delete Math.SQRT2; Math.SQRT2", 1.4142135623730951, "delete Math.SQRT2; Math.SQRT2" );
47 array[item++] = new TestCase( SECTION, "delete Math.SQRT2", false, "delete Math.SQRT2" );
15.8-1.js 24 ECMA Section: 15.8 The Math Object
28 The Math object is merely a single object that has some named properties,
31 The value of the internal [[Prototype]] property of the Math object is the
34 The Math object does not have a [[Construct]] property; it is not possible
35 to use the Math object as a constructor with the new operator.
37 The Math object does not have a [[Call]] property; it is not possible to
38 invoke the Math object as a function.
51 var TITLE = "The Math Object";
62 "Math.__proto__ == Object.prototype",
64 Math.__proto__ == Object.prototype )
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/
15.4-1.js 28 Math.pow(2,32).
49 "var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr[Math.pow(2,32)-2]",
51 eval("var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr[Math.pow(2,32)-2]")
54 "var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr.length",
55 (Math.pow(2,32)-1),
56 eval("var myarr = new Array(); myarr[Math.pow(2,32)-2]='hi'; myarr.length")
59 "var myarr = new Array(); myarr[Math.pow(2,32)-3]='hi'; myarr[Math.pow(2,32)-3]"
    [all...]
15.4.5.2-2.js 47 addCase( new Array(), 0, Math.pow(2,14), Math.pow(2,14) );
51 addCase( new Array(Math.pow(2,12)), Math.pow(2,12), 0, 0 );
52 addCase( new Array(Math.pow(2,13)), Math.pow(2,13), Math.pow(2,12), Math.pow(2,12) );
53 addCase( new Array(Math.pow(2,12)), Math.pow(2,12), Math.pow(2,12), Math.pow(2,12) )
    [all...]
  /dalvik/dx/tests/101-verify-wide-math/
info.txt 1 This tests that wide-taking (category-2) "calculation" opcodes (math
  /external/v8/test/mjsunit/
transcendentals.js 34 assertTrue(Math.sin(x) != Math.sin(y));
36 assertTrue(Math.cos(x) != Math.cos(y));
38 assertTrue(Math.tan(x) != Math.tan(y));
40 assertTrue(Math.log(x) != Math.log(y));
42 assertTrue(Math.asin(x) != Math.asin(y))
    [all...]
delete.js 90 assertTrue(delete a[Math.pow(2,31)-1], "delete 2^31-1");
107 o[Math.pow(2,30)-1] = 0;
108 o[Math.pow(2,31)-1] = 0;
111 assertTrue(delete o[Math.pow(2,30)]);
113 assertFalse(has(o, Math.pow(2,30)));
115 assertTrue(has(o, Math.pow(2,30)-1));
116 assertTrue(has(o, Math.pow(2,31)-1));
118 assertTrue(delete o[Math.pow(2,30)-1]);
120 assertFalse(has(o, Math.pow(2,30)-1), "delete 2^30-1");
121 assertTrue(has(o, Math.pow(2,31)-1))
    [all...]
  /external/webkit/WebCore/mathml/
mathattrs.in 2 namespaceURI="http://www.w3.org/1998/Math/MathML"
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.4.8.js 65 var p = Math.pow(2,i);
71 var p = -Math.pow(2,i);
86 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) {
89 return ( sign * Math.floor(Math.abs(n)) );
95 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) {
99 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32)
    [all...]
11.7.1.js 74 shiftexp = Math.pow( 2, power );
93 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) {
96 return ( sign * Math.floor(Math.abs(n)) );
102 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) {
106 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32)
    [all...]
11.10-1.js 74 shiftexp += Math.pow( 2, shiftpow );
77 addexp += Math.pow(2, addpow);
95 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) {
98 return ( sign * Math.floor(Math.abs(n)) );
104 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) {
108 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32)
    [all...]
11.10-2.js 73 shiftexp += Math.pow( 2, shiftpow );
76 addexp += Math.pow(2, addpow);
94 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) {
97 return ( sign * Math.floor(Math.abs(n)) );
103 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) {
107 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32)
    [all...]
11.10-3.js 73 shiftexp += Math.pow( 2, shiftpow );
76 addexp += Math.pow(2, addpow);
94 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) {
97 return ( sign * Math.floor(Math.abs(n)) );
103 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) {
107 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32)
    [all...]
11.7.2.js 76 shiftexp = Math.pow( 2, power );
87 shiftexp = -Math.pow( 2, power );
107 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY ) {
110 return ( sign * Math.floor(Math.abs(n)) );
116 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) {
120 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32)
    [all...]
  /packages/apps/Gallery3D/src/com/cooliris/media/
LocationMediaFilter.java 51 if (Math.abs(ang1 - ang2) > wrapAroundThreshold) {
63 double dLat = Math.toRadians(lat2 - lat1);
64 double dLon = Math.toRadians(lon2 - lon1);
65 double a = Math.sin(dLat / 2) * Math.sin(dLat / 2) + Math.cos(Math.toRadians(lat1)) * Math.cos(Math.toRadians(lat2))
66 * Math.sin(dLon / 2) * Math.sin(dLon / 2)
    [all...]
  /external/v8/test/mjsunit/regress/
regress-925537.js 30 if (Math.abs(expected - actual) > delta) {
36 assertEquals(1, Math.pow(NaN, 0));
38 assertClose( Math.PI / 4, Math.atan2(pinf, pinf));
39 assertClose(-Math.PI / 4, Math.atan2(ninf, pinf));
40 assertClose( 3 * Math.PI / 4, Math.atan2(pinf, ninf));
41 assertClose(-3 * Math.PI / 4, Math.atan2(ninf, ninf))
    [all...]
  /dalvik/libcore/security/src/test/java/tests/security/spec/
RSAMultiPrimePrivateCrtKeySpecTest.java 32 import java.math.BigInteger;
74 args = {java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.security.spec.RSAOtherPrimeInfo[].class}
108 args = {java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.class, java.math.BigInteger.cla (…)
    [all...]
  /external/webkit/SunSpider/tests/sunspider-0.9/
LIST 18 math-cordic
19 math-partial-sums
20 math-spectral-norm
  /external/webkit/SunSpider/tests/sunspider-0.9.1/
LIST 18 math-cordic
19 math-partial-sums
20 math-spectral-norm
  /bionic/libm/src/
w_drem.c 8 #include <math.h>

Completed in 65 milliseconds

12 3 4 5 6 7 8 91011>>