/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
9.3.1-3.js | 62 -Infinity, 93 "Infinity", 98 Infinity, 103 "-Infinity", 108 -Infinity, 113 "Infinity", 123 Infinity, 130 -Infinity, 135 Infinity, 140 -Infinity, [all...] |
/external/v8/test/mjsunit/regress/ |
regress-588599.js | 28 assertFalse(Infinity == -Infinity); 29 assertEquals(Infinity, 1 / 1e-9999); 30 assertEquals(-Infinity, 1 / -1e-9999);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.15.js | 28 that is closer to Infinity. if the argument is an integer, 34 - if x = Infinity return Infinity 35 - if x = -Infinity return -Infinity 82 array[item++] = new TestCase( SECTION, "Infinity/Math.round(-0)", -Infinity, Infinity/Math.round(-0) ); 84 array[item++] = new TestCase( SECTION, "Math.round(Infinity)", Number.POSITIVE_INFINITY, Math.round(Number.POSITIVE_INFINITY)); 85 array[item++] = new TestCase( SECTION, "Math.round(-Infinity)",Number.NEGATIVE_INFINITY, Math.round(Number.NEGATIVE_INFINITY)) [all...] |
15.8.2.10.js | 30 - if arg is 0 or -0 result is -Infinity 32 - if arg is Infinity result is Infinity 58 array[item++] = new TestCase( SECTION, "Math.log(false)", -Infinity, Math.log(false) ); 59 array[item++] = new TestCase( SECTION, "Math.log('0')", -Infinity, Math.log('0') ); 61 array[item++] = new TestCase( SECTION, "Math.log('Infinity')", Infinity, Math.log("Infinity") ); 69 array[item++] = new TestCase( SECTION, "Math.log(Infinity)", Number.POSITIVE_INFINITY, Math.log(Number.POSITIVE_INFINITY) ); 70 array[item++] = new TestCase( SECTION, "Math.log(-Infinity)", Number.NaN, Math.log(Number.NEGATIVE_INFINITY) ) [all...] |
15.8.2.1.js | 30 - if x is -Infinity, result is +Infinity 62 array[item++] = new TestCase( SECTION, "Infinity/Math.abs(-0)", Infinity, Infinity/Math.abs(-0) ); 64 array[item++] = new TestCase( SECTION, "Math.abs( -Infinity )", Number.POSITIVE_INFINITY, Math.abs( Number.NEGATIVE_INFINITY ) ); 65 array[item++] = new TestCase( SECTION, "Math.abs( Infinity )", Number.POSITIVE_INFINITY, Math.abs( Number.POSITIVE_INFINITY ) ); 85 array[item++] = new TestCase( SECTION, "Math.abs( 'Infinity' )", Infinity, Math.abs('Infinity') ); [all...] |
15.8.2.9.js | 32 - if x = Infinity return Infinity 33 - if x = -Infinity return -Infinity 75 array[item++] = new TestCase( SECTION, "Infinity/Math.floor(-0)", -Infinity, Infinity/Math.floor(-0) ); 78 array[item++] = new TestCase( SECTION, "Math.floor(Infinity)", Number.POSITIVE_INFINITY, Math.floor(Number.POSITIVE_INFINITY) ); 79 array[item++] = new TestCase( SECTION, "Math.floor(Infinity)==-Math.ceil(-Infinity)", true, Math.floor(Number.POSITIVE_INFINITY) == -Math.ceil(Number.NEGATIVE_INFINITY) ) [all...] |
15.8.2.11.js | 55 array[item++] = new TestCase( SECTION, "Math.max()", -Infinity, Math.max() ); 64 array[item++] = new TestCase( SECTION, "Math.max(NaN, Infinity)", Number.NaN, Math.max(Number.NaN,Number.POSITIVE_INFINITY) ); 68 array[item++] = new TestCase( SECTION, "Math.max('a string',Infinity)", Number.NaN, Math.max("a string", Number.POSITIVE_INFINITY) ); 69 array[item++] = new TestCase( SECTION, "Math.max(Infinity, NaN)", Number.NaN, Math.max( Number.POSITIVE_INFINITY, Number.NaN) ); 77 array[item++] = new TestCase( SECTION, "Infinity/Math.max(-0,-0)", -Infinity, Infinity/Math.max(-0,-0) ); 78 array[item++] = new TestCase( SECTION, "Math.max(Infinity, Number.MAX_VALUE)", Number.POSITIVE_INFINITY, Math.max(Number.POSITIVE_INFINITY, Number.MAX_VALUE) ); 79 array[item++] = new TestCase( SECTION, "Math.max(Infinity, Infinity)", Number.POSITIVE_INFINITY, Math.max(Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY) (…) [all...] |
15.8.2.4.js | 31 - if x == +Infinity, the result is approximately +PI/2 32 - if x == -Infinity, the result is approximately -PI/2 64 array[item++] = new TestCase( SECTION, "Math.atan('Infinity)", Math.PI/2, Math.atan('Infinity') ); 65 array[item++] = new TestCase( SECTION, "Math.atan('-Infinity)", -Math.PI/2, Math.atan('-Infinity') ); 69 array[item++] = new TestCase( SECTION, "Infinity/Math.atan(-0)", -Infinity, Infinity/Math.atan(-0) ); 70 array[item++] = new TestCase( SECTION, "Math.atan(Infinity)", Math.PI/2, Math.atan(Number.POSITIVE_INFINITY) ) [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
inf.h | 0 /* `INFINITY' constant for IEEE 754 machines. 24 /* IEEE positive infinity. */ 27 # define INFINITY (__builtin_inff()) 29 # define INFINITY HUGE_VALF
|
/system/bluetooth/data/ |
blacklist.conf | 6 scoSocket:name,"MY-CAR",=ALL_ESCO_MASK;-ESCO_2EV5;-ESCO_3EV3;-ESCO_3EV5, // Infinity G35
|
/external/valgrind/main/none/tests/arm/ |
vfp.c | 1065 TESTINSN_core_to_scalar("vmov.32 d30[0], r5", d30, r5, f2u(INFINITY)); 1066 TESTINSN_core_to_scalar("vmov.32 d11[1], r6", d11, r6, f2u(-INFINITY)); 1073 TESTINSN_core_to_scalar("vmov.16 d0[0], r5", d0, r5, f2u(INFINITY)); 1074 TESTINSN_core_to_scalar("vmov.16 d7[1], r5", d7, r5, f2u(-INFINITY)); 1079 TESTINSN_core_to_scalar("vmov.8 d20[2], r5", d20, r5, f2u(INFINITY)); 1080 TESTINSN_core_to_scalar("vmov.8 d30[3], r5", d30, r5, f2u(-INFINITY)); 1088 TESTINSN_scalar_to_core("vmov.32 r6, d5[1]", r6, d5, i32, f2u(INFINITY)); 1089 TESTINSN_scalar_to_core("vmov.32 r4, d10[0]", r4, d10, i32, f2u(-INFINITY)); 1096 TESTINSN_scalar_to_core("vmov.u16 r3, d30[1]", r3, d30, i32, f2u(INFINITY)); 1097 TESTINSN_scalar_to_core("vmov.u16 r6, d21[2]", r6, d21, i32, f2u(-INFINITY)); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.8.3.js | 65 array[item++] = new TestCase( SECTION, "new MyObject(Infinity) <= new MyObject(Infinity)", true, new MyObject( Number.POSITIVE_INFINITY ) <= new MyObject( Number.POSITIVE_INFINITY) ); 66 array[item++] = new TestCase( SECTION, "new MyObject(-Infinity) <= new MyObject(Infinity)", true, new MyObject( Number.NEGATIVE_INFINITY ) <= new MyObject( Number.POSITIVE_INFINITY) ); 67 array[item++] = new TestCase( SECTION, "new MyObject(-Infinity) <= new MyObject(-Infinity)", true, new MyObject( Number.NEGATIVE_INFINITY ) <= new MyObject( Number.NEGATIVE_INFINITY) ); 84 array[item++] = new TestCase( SECTION, "Infinity <= 0", false, Number.POSITIVE_INFINITY <= 0 ); 85 array[item++] = new TestCase( SECTION, "Infinity <= Number.MAX_VALUE", false, Number.POSITIVE_INFINITY <= Number.MAX_VALUE ); 86 array[item++] = new TestCase( SECTION, "Infinity <= Infinity", true, Number.POSITIVE_INFINITY <= Number.POSITIVE_INFINITY ) [all...] |
11.8.4.js | 66 array[item++] = new TestCase( SECTION, "new MyObject(Infinity) >= new MyObject(Infinity)", true, new MyObject( Number.POSITIVE_INFINITY ) >= new MyObject( Number.POSITIVE_INFINITY) ); 67 array[item++] = new TestCase( SECTION, "new MyObject(-Infinity) >= new MyObject(Infinity)", false, new MyObject( Number.NEGATIVE_INFINITY ) >= new MyObject( Number.POSITIVE_INFINITY) ); 68 array[item++] = new TestCase( SECTION, "new MyObject(-Infinity) >= new MyObject(-Infinity)", true, new MyObject( Number.NEGATIVE_INFINITY ) >= new MyObject( Number.NEGATIVE_INFINITY) ); 85 array[item++] = new TestCase( SECTION, "Infinity >= 0", true, Number.POSITIVE_INFINITY >= 0 ); 86 array[item++] = new TestCase( SECTION, "Infinity >= Number.MAX_VALUE", true, Number.POSITIVE_INFINITY >= Number.MAX_VALUE ); 87 array[item++] = new TestCase( SECTION, "Infinity >= Infinity", true, Number.POSITIVE_INFINITY >= Number.POSITIVE_INFINITY ) [all...] |
/libcore/luni/src/main/java/java/lang/ |
Math.java | 52 * <li>{@code abs(+infinity) = +infinity}</li> 53 * <li>{@code abs(-infinity) = +infinity}</li> 69 * <li>{@code abs(+infinity) = +infinity}</li> 70 * <li>{@code abs(-infinity) = +infinity}</li> 150 * <li>{@code atan(+infinity) = +pi/2}</li> 151 * <li>{@code atan(-infinity) = -pi/2}</li [all...] |
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/ |
argument-types.js | 47 test('navigator.geolocation.getCurrentPosition(Infinity)', true); 48 test('navigator.geolocation.getCurrentPosition(-Infinity)', true); 60 test('navigator.geolocation.getCurrentPosition(emptyFunction, Infinity)', true); 61 test('navigator.geolocation.getCurrentPosition(emptyFunction, -Infinity)', true); 71 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, Infinity)', false); 72 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, -Infinity)', false); 82 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {dummyProperty:Infinity})', false); 83 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {dummyProperty:-Infinity})', false); 93 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {enableHighAccuracy:Infinity})', false); 94 test('navigator.geolocation.getCurrentPosition(emptyFunction, undefined, {enableHighAccuracy:-Infinity})', false) [all...] |
/external/v8/test/mjsunit/ |
mirror-number.js | 58 if (n === Infinity) { 59 assertEquals('Infinity', fromJSON.value); 60 } else if (n === -Infinity) { 61 assertEquals('-Infinity', fromJSON.value); 75 testNumberMirror(Infinity); 76 testNumberMirror(-Infinity);
|
parse-int-float.js | 57 assertEquals(Infinity, parseInt('1000000000000000000000000000000000000000000000' 64 assertEquals(Infinity, parseInt('0x10000000000000000000000000000000000000000000' 96 assertTrue(isNaN(parseInt(1/0)), "parseInt Infinity"); 97 assertTrue(isNaN(parseInt(-1/0)), "parseInt -Infinity"); 100 assertEquals(Infinity, parseFloat(1/0), "parseFloat Infinity"); 101 assertEquals(-Infinity, parseFloat(-1/0), "parseFloat -Infinity");
|
math-sqrt.js | 33 if (value === 0 && (1 / value) == -Infinity) { 50 test(Infinity, Infinity); 51 // -Infinity is smaller than 0 so it should return NaN 52 test(NaN, -Infinity);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Statements/ |
12.10-1.js | 107 "var MYOB = new WithObject(NaN); with (MYOB) { Infinity }", 109 eval("var MYOB = new WithObject(NaN); with (MYOB) { Infinity }") ); 113 "var MYOB = new WithObject(false); with (MYOB) { }; Infinity", 115 eval("var MYOB = new WithObject(false); with (MYOB) { }; Infinity") ); 120 "var MYOB = new WithObject(0); with (MYOB) { delete Infinity; Infinity }", 122 eval("var MYOB = new WithObject(0); with (MYOB) { delete Infinity; Infinity }") ); 128 "var MYOB = new WithObject(0); while (true) { with (MYOB) { Infinity; break; } } Infinity", [all...] |
/external/icu4c/test/intltest/ |
tsputil.cpp | 61 // infinity and real 67 // test infinity and nan 72 // test infinity and zero 247 errln("FAIL: isInfinite(+Infinity) returned FALSE, should be TRUE."); 251 errln("FAIL: isPositiveInfinity(+Infinity) returned FALSE, should be TRUE."); 255 errln("FAIL: isNegativeInfinity(+Infinity) returned TRUE, should be FALSE."); 259 errln("FAIL: +Infinity > DBL_MAX returned FALSE, should be TRUE."); 263 errln("FAIL: +Infinity > DBL_MIN returned FALSE, should be TRUE."); 267 errln("FAIL: +Infinity > -Infinity returned FALSE, should be TRUE.") [all...] |
/external/libxml2/ |
trionan.h | 41 * Return positive infinity. 46 * Return negative infinity. 61 * If number is positive infinity return 1, if number is negative 62 * infinity return -1, otherwise return 0.
|
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/ |
tst_qscriptvalue_generated_comparison.cpp | 172 "QScriptValue(qInf()) <=> QScriptValue(\"Infinity\")", 174 "QScriptValue(qInf()) <=> QScriptValue(0, \"Infinity\")", 176 "QScriptValue(qInf()) <=> QScriptValue(engine, \"Infinity\")", 177 "QScriptValue(qInf()) <=> engine->evaluate(\"Infinity\")", 179 "QScriptValue(-qInf()) <=> QScriptValue(\"-Infinity\")", 181 "QScriptValue(-qInf()) <=> QScriptValue(0, \"-Infinity\")", 183 "QScriptValue(-qInf()) <=> QScriptValue(engine, \"-Infinity\")", 184 "QScriptValue(-qInf()) <=> engine->evaluate(\"-Infinity\")", 188 "QScriptValue(\"Infinity\") <=> QScriptValue(qInf())", 189 "QScriptValue(\"Infinity\") <=> QScriptValue(\"Infinity\")" [all...] |
tst_qscriptvalue_generated_totype.cpp | 47 "QScriptValue(\"Infinity\")", 48 "QScriptValue(\"-Infinity\")", 75 "QScriptValue(0, \"Infinity\")", 76 "QScriptValue(0, \"-Infinity\")", 103 "QScriptValue(engine, \"Infinity\")", 104 "QScriptValue(engine, \"-Infinity\")", 150 "engine->evaluate(\"Infinity\")", 151 "engine->evaluate(\"-Infinity\")", 172 "NaN", "Infinity", 173 "-Infinity", "NaN" [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.10-1.js | 100 "var s = new String('this is a string object'); s.substring(NaN, Infinity)", 102 eval("var s = new String('this is a string object'); s.substring(NaN, Infinity)") ); 106 "var s = new String('this is a string object'); s.substring(Infinity, NaN)", 108 eval("var s = new String('this is a string object'); s.substring(Infinity, NaN)") ); 112 "var s = new String('this is a string object'); s.substring(Infinity, Infinity)", 114 eval("var s = new String('this is a string object'); s.substring(Infinity, Infinity)") ); 134 "var s = new String('this is a string object'); s.substring(-Infinity, -Infinity)", [all...] |
/frameworks/compile/libbcc/runtime/lib/ppc/ |
multc3.c | 8 #if !defined(INFINITY) && defined(HUGE_VAL) 9 #define INFINITY HUGE_VAL 10 #endif /* INFINITY */ 85 real.s.hi = INFINITY * (aDD.s.hi*cDD.s.hi - bDD.s.hi*dDD.s.hi); 87 imag.s.hi = INFINITY * (aDD.s.hi*dDD.s.hi + bDD.s.hi*cDD.s.hi);
|