Home
last modified time | relevance | path

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

1234

/external/chromium_org/v8/test/mjsunit/
Dnumber-is.js30 assertTrue(Number.isFinite(0));
31 assertTrue(Number.isFinite(Number.MIN_VALUE));
32 assertTrue(Number.isFinite(Number.MAX_VALUE));
33 assertFalse(Number.isFinite(Number.NaN));
34 assertFalse(Number.isFinite(Number.POSITIVE_INFINITY));
35 assertFalse(Number.isFinite(Number.NEGATIVE_INFINITY));
36 assertFalse(Number.isFinite(new Number(0)));
37 assertFalse(Number.isFinite(1/0));
38 assertFalse(Number.isFinite(-1/0));
39 assertFalse(Number.isFinite({}));
[all …]
Dunicode-string-to-number.js38 assertTrue(isFinite(Number(s)));
/external/v8/test/mjsunit/
Dnumber-is.js30 assertTrue(Number.isFinite(0));
31 assertTrue(Number.isFinite(Number.MIN_VALUE));
32 assertTrue(Number.isFinite(Number.MAX_VALUE));
33 assertFalse(Number.isFinite(Number.NaN));
34 assertFalse(Number.isFinite(Number.POSITIVE_INFINITY));
35 assertFalse(Number.isFinite(Number.NEGATIVE_INFINITY));
36 assertFalse(Number.isFinite(new Number(0)));
37 assertFalse(Number.isFinite(1/0));
38 assertFalse(Number.isFinite(-1/0));
39 assertFalse(Number.isFinite({}));
[all …]
Dunicode-string-to-number.js38 assertTrue(isFinite(Number(s)));
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DStepRange.cpp58 , m_step(step.isFinite() ? step : 1) in StepRange()
59 , m_stepBase(stepBase.isFinite() ? stepBase : 1) in StepRange()
61 , m_hasStep(step.isFinite()) in StepRange()
63 ASSERT(m_maximum.isFinite()); in StepRange()
64 ASSERT(m_minimum.isFinite()); in StepRange()
65 ASSERT(m_step.isFinite()); in StepRange()
66 ASSERT(m_stepBase.isFinite()); in StepRange()
115 if (!step.isFinite() || step <= 0) in parseStep()
149 if (!valueForCheck.isFinite()) in stepMismatch()
152 if (!value.isFinite()) in stepMismatch()
DNumberInputType.cpp78 ASSERT(value.isFinite()); in calculateRenderSize()
175 if (!minimum.isFinite()) in sizeShouldIncludeDecoration()
179 if (!maximum.isFinite()) in sizeShouldIncludeDecoration()
183 ASSERT(step.isFinite()); in sizeShouldIncludeDecoration()
211 if (!value.isFinite()) in serialize()
DInputType.cpp273 if (!numericValue.isFinite()) in rangeUnderflow()
285 if (!numericValue.isFinite()) in rangeOverflow()
312 if (!numericValue.isFinite()) in isInRange()
325 if (!numericValue.isFinite()) in isOutOfRange()
338 if (!numericValue.isFinite()) in stepMismatch()
397 if (!numericValue.isFinite()) in validationMessage()
413 …if (!candidate2.isFinite() || candidate2 < stepRange.minimum() || candidate2 > stepRange.maximum()) in validationMessage()
820 if (!current.isFinite()) { in applyStep()
825 if (!newValue.isFinite()) { in applyStep()
941 if (!current.isFinite()) { in stepUpFromRenderer()
[all …]
/external/eigen/test/
Dstable_norm.cpp20 template<typename T> bool isFinite(const T& x) in isFinite() function
75 VERIFY(!isFinite( std::numeric_limits<RealScalar>::infinity())); in stable_norm()
76 VERIFY(!isFinite(internal::sqrt(-internal::abs(big)))); in stable_norm()
79 VERIFY(isFinite(internal::sqrt(size)*internal::abs(big))); in stable_norm()
86 VERIFY(isFinite(internal::sqrt(size)*internal::abs(small))); in stable_norm()
/external/chromium_org/third_party/WebKit/Source/platform/
DDecimal.h72 bool isFinite() const { return !isSpecial(); } in isFinite() function
123 ASSERT(isFinite()); in exponent()
127 bool isFinite() const { return m_data.isFinite(); } in isFinite() function
/external/guava/guava/src/com/google/common/math/
DDoubleMath.java24 import static com.google.common.math.DoubleUtils.isFinite;
51 if (!isFinite(x)) { in roundIntermediate()
177 return x > 0.0 && isFinite(x) && LongMath.isPowerOfTwo(getSignificand(x)); in isPowerOfTwo()
212 checkArgument(x > 0.0 && isFinite(x), "x must be positive and finite"); in log2()
257 return isFinite(x) in isMathematicalInteger()
DDoubleUtils.java110 checkArgument(isFinite(d), "not a normal value"); in getSignificand()
119 static boolean isFinite(double d) { in isFinite() method in DoubleUtils
/external/chromium_org/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
/external/chromium_org/chrome/browser/resources/local_ntp/
Dinstant_iframe_validation.js19 if (isFinite(color) && Math.floor(color) == color &&
35 return isFinite(component) && component >= 0 && component <= 255;
Dmost_visited_util.js100 if ('pos' in params && isFinite(params.pos)) {
154 if ('fs' in params && isFinite(parseInt(params.fs, 10)))
168 if (!isFinite(params.rid) && !params.url)
/external/chromium_org/third_party/WebKit/Source/core/svg/animation/
DSMILTime.h46 bool isFinite() const { return m_time < indefiniteValue; } in isFinite() function
83 inline bool operator==(const SMILTime& a, const SMILTime& b) { return a.isFinite() && a.value() == …
84 inline bool operator!(const SMILTime& a) { return !a.isFinite() || !a.value(); }
DSVGSMILElement.cpp833 else if (!resolvedEnd.isFinite()) in resolveActiveEnd()
932 if (newBegin.isFinite() && (m_intervalEnd <= eventTime || newBegin < m_intervalBegin)) { in beginListChanged()
959 else if (elapsed < m_intervalEnd && m_intervalBegin.isFinite()) { in endListChanged()
1045 ASSERT(m_intervalBegin.isFinite()); in calculateAnimationPercentAndRepeat()
1046 ASSERT(simpleDuration.isFinite()); in calculateAnimationPercentAndRepeat()
1074 … < repeatingDurationEnd && repeatingDurationEnd < m_intervalEnd && repeatingDurationEnd.isFinite()) in calculateNextProgressTime()
1101 ASSERT(m_isWaitingForFirstInterval || m_intervalBegin.isFinite()); in progress()
1106 if (!m_intervalBegin.isFinite()) { in progress()
1195 ASSERT(m_intervalBegin.isFinite()); in notifyDependentsIntervalChanged()
1223 ASSERT(time.isFinite()); in createInstanceTimesFromSyncbase()
[all …]
DSMILTimeContainer.cpp80 if (nextFireTime.isFinite()) in schedule()
214 if (!fireTime.isFinite()) in startTimer()
304 if (nextFireTime.isFinite()) in updateAnimations()
/external/skia/tests/
DInfRectTest.cpp56 REPORTER_ASSERT(reporter, !rect.isFinite()); in check_invalid()
73 REPORTER_ASSERT(reporter, SkRect::MakeEmpty().isFinite()); in DEF_TEST()
76 REPORTER_ASSERT(reporter, rect.isFinite()); in DEF_TEST()
/external/skia/src/core/
DSkPathRef.cpp89 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { in CreateTransformedCopy()
459 bool isFinite = true; in validate() local
461 SkASSERT(!fPoints[i].isFinite() || ( in validate()
466 if (!fPoints[i].isFinite()) { in validate()
467 isFinite = false; in validate()
470 SkASSERT(SkToBool(fIsFinite) == isFinite); in validate()
DSkRect.cpp76 bool isFinite = true; in setBoundsCheck() local
123 isFinite = false; in setBoundsCheck()
130 return isFinite; in setBoundsCheck()
/external/chromium_org/third_party/skia/src/core/
DSkPathRef.cpp89 if (!((*dst)->fIsFinite = (*dst)->fBounds.isFinite())) { in CreateTransformedCopy()
459 bool isFinite = true; in validate() local
461 SkASSERT(!fPoints[i].isFinite() || ( in validate()
466 if (!fPoints[i].isFinite()) { in validate()
467 isFinite = false; in validate()
470 SkASSERT(SkToBool(fIsFinite) == isFinite); in validate()
DSkRect.cpp76 bool isFinite = true; in setBoundsCheck() local
123 isFinite = false; in setBoundsCheck()
130 return isFinite; in setBoundsCheck()
/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/chromium_org/v8/test/mjsunit/regress/
Dregress-1177518.js31 isFinite = 0;

1234