/external/bison/lib/ |
isnan.c | 143 /* A NaN can be recognized through its exponent. But exclude +Infinity and 144 -Infinity, which have the same exponent. */
|
/external/compiler-rt/lib/ |
extendsfdf2.c | 109 // a is NaN or infinity. 110 // Conjure the result by beginning with infinity, then setting the qNaN
|
/external/llvm/include/llvm/CodeGen/PBQP/ |
HeuristicSolver.h | 505 const PBQPNum infinity = std::numeric_limits<PBQPNum>::infinity(); local 512 PBQPNum rowMin = infinity; 515 if (vCosts[c] != infinity && edgeCosts[r][c] < rowMin) 521 if (rowMin != infinity) { 530 PBQPNum colMin = infinity; 533 if (uCosts[r] != infinity && edgeCosts[r][c] < colMin) 539 if (colMin != infinity) {
|
/external/v8/test/mjsunit/ |
toint32.js | 32 assertEquals(0, toInt32(Infinity), "Inf"); 33 assertEquals(0, toInt32(-Infinity), "-Inf");
|
json.js | 55 valueOf: function() { return Infinity; }, 61 toString: function() { return Infinity; }, 74 toString: function() { return "Infinity"; }, 234 assertEquals("null", JSON.stringify(Infinity)); 235 assertEquals("null", JSON.stringify(-Infinity));
|
/external/webkit/LayoutTests/fast/js/resources/ |
getOwnPropertyDescriptor.js | 44 descriptorShouldBe("global", "'Infinity'", {writable: false, enumerable: false, configurable: false, value:"Infinity"});
|
/external/webkit/LayoutTests/fast/xpath/4XPath/Core/ |
test_numeric_expr-expected.txt | 4 PASS DOM.evaluate("(1 div 0) * (1 div 0)", CHILD1, null, XPathResult.ANY_TYPE, null).numberValue is Infinity 5 PASS DOM.evaluate("(-1 div 0) * (-1 div 0)", CHILD1, null, XPathResult.ANY_TYPE, null).numberValue is Infinity 6 PASS DOM.evaluate("(1 div 0) * (-1 div 0)", CHILD1, null, XPathResult.ANY_TYPE, null).numberValue is -Infinity 11 PASS DOM.evaluate("1 div 0", CHILD1, null, XPathResult.ANY_TYPE, null).numberValue is Infinity 12 PASS DOM.evaluate("-1 div 0", CHILD1, null, XPathResult.ANY_TYPE, null).numberValue is -Infinity 46 PASS DOM.evaluate("(1 div 0) + (1 div 0)", CHILD1, null, XPathResult.ANY_TYPE, null).numberValue is Infinity 116 PASS DOM.evaluate("'1' div '0'", CHILD1, null, XPathResult.ANY_TYPE, null).numberValue is Infinity 117 PASS DOM.evaluate("'-1' div '0'", CHILD1, null, XPathResult.ANY_TYPE, null).numberValue is -Infinity
|
/external/webkit/LayoutTests/http/tests/cookies/resources/ |
cookies-test-pre.js | 51 // -Infinity instead of Infinity
|
/external/webkit/Source/JavaScriptCore/qt/api/ |
qscriptconverter_p.h | 75 return QString::fromLatin1(value < 0 ? "-Infinity" : "Infinity");
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.4.3.js | 59 testcases[testcases.length] = new TestCase( SECTION, "typeof(Infinity)", "number", typeof(Number.POSITIVE_INFINITY) ); 60 testcases[testcases.length] = new TestCase( SECTION, "typeof(-Infinity)", "number", typeof(Number.NEGATIVE_INFINITY) );
|
11.4.6.js | 149 // StrNumericLiteral:::StrDecimalLiteral:::Infinity 151 array[item++] = new TestCase( SECTION, "+('Infinity')", Math.pow(10,10000), +("Infinity") ); 152 array[item++] = new TestCase( SECTION, "+('-Infinity')", -Math.pow(10,10000), +("-Infinity") ); 153 array[item++] = new TestCase( SECTION, "+('+Infinity')", Math.pow(10,10000), +("+Infinity") );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/ |
15.1.2.1-1.js | 62 array[item++] = new TestCase( SECTION, "typeof eval(new String('Infinity/-0')", "object", typeof eval(new String('Infinity/-0')) );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.7-3.js | 122 position = Infinity; 159 if ( Math.abs(n) == 0 || Math.abs(n) == Infinity ) {
|
/external/webkit/Source/WebCore/bindings/js/ |
JSGeolocationCustom.cpp | 82 // If the value is positive infinity, there's nothing to do. 99 // If the value is positive infinity, clear maximumAge.
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8GeolocationCustom.cpp | 89 // If the value is positive infinity, there's nothing to do. 114 // If the value is positive infinity, clear maximumAge.
|
/frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/ |
LVCS_Tables.c | 379 /* The Gain is represented as a Q3.13 number to give a range of +8 to -infinity */ 381 /* 0 is -infinity */
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldDecimalFormatSymbolsTest.java | 132 * infinity = [U+221e] // INFINITY
|
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/complex.number/complex.transcendentals/ |
acosh.pass.cpp | 32 test(std::complex<T>(INFINITY, 1), std::complex<T>(INFINITY, 0));
|
/external/openfst/src/include/fst/ |
float-weight.h | 41 static const T pos_infinity = numeric_limits<T>::infinity(); 158 return strm << "Infinity"; 160 return strm << "-Infinity"; 171 if (s == "Infinity") { 173 } else if (s == "-Infinity") {
|
/external/icu4c/i18n/ |
choicfmt.cpp | 62 #ifdef INFINITY 63 #undef INFINITY 65 #define INFINITY ((UChar)0x221E) 67 //static const UChar gPositiveInfinity[] = {INFINITY, 0}; 68 //static const UChar gNegativeInfinity[] = {MINUS, INFINITY, 0}; 295 result += INFINITY; 298 result += INFINITY;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
9.3.1-1.js | 173 // StrNumericLiteral:::StrDecimalLiteral:::Infinity 175 array[item++] = new TestCase( SECTION, "Number('Infinity')", Math.pow(10,10000), Number("Infinity") ); 176 array[item++] = new TestCase( SECTION, "Number('-Infinity')", -Math.pow(10,10000), Number("-Infinity") ); 177 array[item++] = new TestCase( SECTION, "Number('+Infinity')", Math.pow(10,10000), Number("+Infinity") );
|
/external/icu4c/test/testdata/ |
structLocale.txt | [all...] |
/external/protobuf/src/google/protobuf/compiler/python/ |
python_generator.cc | 170 if (value == numeric_limits<double>::infinity()) { 172 // a numeric literal that is too big for a double will become infinity. 174 } else if (value == -numeric_limits<double>::infinity()) { 178 // infinity * 0 = nan 186 if (value == numeric_limits<float>::infinity()) { 188 // a numeric literal that is too big for a double will become infinity. 190 } else if (value == -numeric_limits<float>::infinity()) { 194 // infinity - infinity = nan [all...] |
/external/ceres-solver/internal/ceres/ |
jet_test.cc | 293 a.v[1] = std::numeric_limits<double>::infinity(); 294 a.v[2] = -std::numeric_limits<double>::infinity(); 314 a.v[0] = std::numeric_limits<double>::infinity();
|
/external/guava/guava/src/com/google/common/math/ |
DoubleMath.java | 186 * <li>If {@code x} is positive infinity, the result is positive infinity. 187 * <li>If {@code x} is positive or negative zero, the result is negative infinity.
|