Home
last modified time | relevance | path

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

1234

/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.java23 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.java65 checkArgument(isFinite(d), "not a normal value"); in getSignificand()
74 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.cpp104 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { in CreateTransformedCopy()
618 bool isFinite = true; in validate() local
621 if (fPoints[i].isFinite() && in validate()
635 SkASSERT(!fPoints[i].isFinite() || in validate()
638 if (!fPoints[i].isFinite()) { in validate()
639 isFinite = false; in validate()
642 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.cpp19 if (fRect.isEmpty() || !fRect.isFinite()) { in setRectXY()
57 if (fRect.isEmpty() || !fRect.isFinite()) { in setNinePatch()
128 if (fRect.isEmpty() || !fRect.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/bench/
DMathBench.cpp252 static bool isFinite(const SkRect& r) { in isFinite() function
307 isFinite(*r); in onDraw()
309 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/chromium-trace/catapult/third_party/flot/
Dexcanvas.min.js1 …)}};function h(i){return isFinite(i[0][0])&&isFinite(i[0][1])&&isFinite(i[1][0])&&isFinite(i[1][1]…
Dexcanvas.js1136 return isFinite(m[0][0]) && isFinite(m[0][1]) &&
1137 isFinite(m[1][0]) && isFinite(m[1][1]) &&
1138 isFinite(m[2][0]) && isFinite(m[2][1]);
/external/llvm/include/llvm/ADT/
DAPFloat.h414 bool isFinite() const { return !isNaN() && !isInfinity(); } in isFinite() function
440 bool isFiniteNonZero() const { return isFinite() && !isZero(); } in isFiniteNonZero()
/external/skia/include/core/
DSkPathRef.h148 bool isFinite() const { in isFinite() function
337 fIsFinite = fBounds.isFinite(); in setBounds()
/external/v8/test/mjsunit/wasm/
Dasm-wasm-stdlib.js133 if (!isFinite(x) && !isFinite(y)) {

1234