Home
last modified time | relevance | path

Searched refs:isFinite (Results 1 – 25 of 58) sorted by relevance

123

/external/v8/test/mjsunit/
Dnumber-is.js31 assertTrue(Number.isFinite(0));
32 assertTrue(Number.isFinite(Number.MIN_VALUE));
33 assertTrue(Number.isFinite(Number.MAX_VALUE));
34 assertTrue(Number.isFinite(Number.MIN_SAFE_INTEGER));
35 assertTrue(Number.isFinite(Number.MIN_SAFE_INTEGER - 13));
36 assertTrue(Number.isFinite(Number.MAX_SAFE_INTEGER));
37 assertTrue(Number.isFinite(Number.MAX_SAFE_INTEGER + 23));
38 assertFalse(Number.isFinite(Number.NaN));
39 assertFalse(Number.isFinite(Number.POSITIVE_INFINITY));
40 assertFalse(Number.isFinite(Number.NEGATIVE_INFINITY));
[all …]
Dunicode-string-to-number.js38 assertTrue(isFinite(Number(s)));
Dnegate-zero.js31 assertFalse(isFinite(y));
Dmath-sqrt.js32 if (isFinite(value)) {
Dmath-exp-precision.js55 if (ex > 0 && isFinite(ex)) {
Dmirror-number.js53 if (isFinite(n)) {
/external/eigen/test/
Dstable_norm.cpp15 template<typename T> bool isFinite(const T& x) in isFinite() function
80 VERIFY(!isFinite( std::numeric_limits<RealScalar>::infinity())); in stable_norm()
81 VERIFY(!isFinite(sqrt(-abs(big)))); in stable_norm()
84 VERIFY(isFinite(sqrt(size)*abs(big))); in stable_norm()
91 VERIFY(isFinite(sqrt(size)*abs(small))); in stable_norm()
/external/guava/guava/src/com/google/common/math/
DDoubleMath.java25 import static com.google.common.math.DoubleUtils.isFinite;
58 if (!isFinite(x)) { in roundIntermediate()
198 return x > 0.0 && isFinite(x) && LongMath.isPowerOfTwo(getSignificand(x)); in isPowerOfTwo()
234 checkArgument(x > 0.0 && isFinite(x), "x must be positive and finite"); in log2()
280 return isFinite(x) in isMathematicalInteger()
393 checkArgument(isFinite(value)); in add()
DDoubleUtils.java85 checkArgument(isFinite(d), "not a normal value"); in getSignificand()
100 static boolean isFinite(double d) { in isFinite() method in DoubleUtils
/external/v8/test/webkit/fast/js/kde/
DGlobalObject-expected.txt40 PASS isFinite(1) is true
41 PASS isFinite('1') is true
42 PASS isFinite('a') is false
46 PASS isFinite(Infinity) is false
47 PASS isFinite('Infinity') is false
84 PASS isFinite(parseFloat('Infinity')) is false
Dmath-expected.txt67 PASS isFinite(Math.log(0)) is false
69 PASS isFinite(Math.log(Infinity)) is false
71 PASS isFinite(Math.max()) is false
/external/skia/tests/
DInfRectTest.cpp53 REPORTER_ASSERT(reporter, !rect.isFinite()); in check_invalid()
65 REPORTER_ASSERT(reporter, SkRect::MakeEmpty().isFinite()); in DEF_TEST()
68 REPORTER_ASSERT(reporter, rect.isFinite()); in DEF_TEST()
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLBIOInputStream.java31 public OpenSSLBIOInputStream(InputStream is, boolean isFinite) { in OpenSSLBIOInputStream() argument
34 ctx = NativeCrypto.create_BIO_InputStream(this, isFinite); in OpenSSLBIOInputStream()
/external/skia/src/core/
DSkPathRef.cpp91 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { in CreateTransformedCopy()
453 bool isFinite = true; in validate() local
456 if (fPoints[i].isFinite() && in validate()
470 SkASSERT(!fPoints[i].isFinite() || in validate()
473 if (!fPoints[i].isFinite()) { in validate()
474 isFinite = false; in validate()
477 SkASSERT(SkToBool(fIsFinite) == isFinite); in validate()
DSkRect.cpp58 bool isFinite = true; in setBoundsCheck() local
100 isFinite = false; in setBoundsCheck()
103 return isFinite; in setBoundsCheck()
DSkRRect.cpp14 if (rect.isEmpty() || !rect.isFinite()) { in setRectXY()
50 if (rect.isEmpty() || !rect.isFinite()) { in setNinePatch()
141 if (rect.isEmpty() || !rect.isFinite()) { in setRectRadii()
/external/skia/tools/lua/
Dskia.lua14 function Sk.isFinite(x) function
51 function Sk.Rect:isFinite() function
/external/v8/test/mjsunit/regress/
Dregress-1177518.js31 isFinite = 0;
/external/skia/include/core/
DSkPathRef.h121 bool isFinite() const { in isFinite() function
286 return count ? ref.points()->isFinite() : true; in ComputePtBounds()
307 fIsFinite = fBounds.isFinite(); in setBounds()
DSkPath.h186 bool isFinite() const { in isFinite() function
188 return fPathRef->isFinite(); in isFinite()
/external/skia/bench/
DMathBench.cpp255 static bool isFinite(const SkRect& r) { in isFinite() function
310 isFinite(*r); in onDraw()
312 counter += r->isFinite(); in onDraw()
/external/deqp/framework/common/
DtcuInterval.hpp84 bool isFinite (void) const { return m_lo > -TCU_INFINITY && m_hi < TCU_INFINITY; } in isFinite() function in tcu::Interval
85 bool isOrdinary (void) const { return !hasNaN() && !empty() && isFinite(); } in isOrdinary()
/external/llvm/include/llvm/ADT/
DAPFloat.h407 bool isFinite() const { return !isNaN() && !isInfinity(); } in isFinite() function
433 bool isFiniteNonZero() const { return isFinite() && !isZero(); } in isFiniteNonZero()
/external/v8/test/webkit/fast/js/
DObject-getOwnPropertyNames-expected.txt59 PASS getSortedOwnPropertyNames(isFinite) is ['arguments', 'caller', 'length', 'name']
76 …NEGATIVE_INFINITY', 'NaN', 'POSITIVE_INFINITY', 'arguments', 'caller', 'isFinite', 'isInteger', 'i…
92 PASS globalPropertyNames.indexOf('isFinite') != -1 is true
/external/v8/test/webkit/resources/
Djson2-es5-compat.js263 return isFinite(value) ? String(value) : 'null';

123