HomeSort by relevance Sort by last modified time
    Searched full:isfinite (Results 1 - 25 of 347) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/v8/test/mjsunit/
number-is.js 28 // Test Harmony Number.isFinite() and Number.isNaN() functions.
30 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))
    [all...]
  /external/v8/test/mjsunit/
number-is.js 28 // Test Harmony Number.isFinite() and Number.isNaN() functions.
30 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))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
CanvasPathMethods.cpp 58 if (!std::isfinite(x) || !std::isfinite(y))
67 if (!std::isfinite(x) || !std::isfinite(y))
81 if (!std::isfinite(cpx) || !std::isfinite(cpy) || !std::isfinite(x) || !std::isfinite(y))
96 if (!std::isfinite(cp1x) || !std::isfinite(cp1y) || !std::isfinite(cp2x) || !std::isfinite(cp2y) || !std::isfinite(x) || !std::isfinite(y)
    [all...]
CanvasRenderingContext2D.cpp 335 if (!(std::isfinite(width) && width > 0))
394 if (!(std::isfinite(limit) && limit > 0))
413 if (!std::isfinite(x))
429 if (!std::isfinite(y))
445 if (!(std::isfinite(blur) && blur >= 0))
479 if (!std::isfinite(dash[i]) || dash[i] < 0)
518 if (!std::isfinite(offset) || state().m_lineDashOffset == offset)
601 if (!std::isfinite(sx) | !std::isfinite(sy))
629 if (!std::isfinite(angleInRadians)
    [all...]
  /external/chromium_org/base/
float_util.h 17 inline bool IsFinite(const Float& number) {
19 return std::isfinite(number) != 0;
  /external/ceres-solver/include/ceres/
fpclassify.h 49 inline bool IsFinite (double x) { return _finite(x); }
65 // On Android NDK r6, when using STLPort, the isinf and isfinite functions are
72 inline bool IsFinite(double x) {
76 inline bool IsFinite (double x) { return isfinite(x); }
82 inline bool IsFinite (double x) { return std::isfinite(x); }
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
StepRange.cpp 58 , m_step(step.isFinite() ? step : 1)
59 , m_stepBase(stepBase.isFinite() ? stepBase : 1)
61 , m_hasStep(step.isFinite())
63 ASSERT(m_maximum.isFinite());
64 ASSERT(m_minimum.isFinite());
65 ASSERT(m_step.isFinite());
66 ASSERT(m_stepBase.isFinite());
115 if (!step.isFinite() || step <= 0)
149 if (!valueForCheck.isFinite())
152 if (!value.isFinite())
    [all...]
NumberInputType.cpp 78 ASSERT(value.isFinite());
148 return !value.isEmpty() && !std::isfinite(parseToDoubleForNumberType(value));
175 if (!minimum.isFinite())
179 if (!maximum.isFinite())
183 ASSERT(step.isFinite());
211 if (!value.isFinite())
250 return std::isfinite(parseToDoubleForNumberType(proposedValue)) ? proposedValue : emptyString();
256 return !standardValue.isEmpty() && !std::isfinite(parseToDoubleForNumberType(standardValue));
  /external/chromium_org/v8/test/webkit/fast/js/kde/
GlobalObject-expected.txt 40 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
GlobalObject.js 42 shouldBeTrue("isFinite(1)");
43 shouldBeTrue("isFinite('1')");
46 shouldBeFalse("isFinite('a')");
51 shouldBeFalse("isFinite(Infinity)");
52 shouldBeFalse("isFinite('Infinity')");
96 shouldBeFalse("isFinite(parseFloat('Infinity'))");
  /external/chromium/base/
float_util.h 20 inline bool IsFinite(const double& number) {
  /external/skia/tests/
InfRectTest.cpp 56 REPORTER_ASSERT(reporter, !rect.isFinite());
59 // Tests that isFinite() will reject any rect with +/-inf values
73 REPORTER_ASSERT(reporter, SkRect::MakeEmpty().isFinite());
76 REPORTER_ASSERT(reporter, rect.isFinite());
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/
log.pass.cpp 61 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag()))
70 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag()))
75 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag()))
83 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag()))
112 else if (std::isfinite(x[i].real()) && std::isfinite(x[i].imag()) && abs(x[i]) < 1)
117 else if (std::isfinite(x[i].real()) && std::isfinite(x[i].imag()) && abs(x[i]) > 1)
acosh.pass.cpp 58 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag()))
67 else if (std::isfinite(x[i].real()) && std::isnan(x[i].imag()))
72 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag()))
81 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag()))
112 else if (std::isnan(x[i].real()) && std::isfinite(x[i].imag()))
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/decimaltestdata/
extra.decTest 459 bool0210 isfinite 0E-2000 -> 1
460 bool0211 isfinite -0E-2000 -> 1
461 bool0212 isfinite 0E-1008 -> 1
462 bool0213 isfinite -0E-1008 -> 1
463 bool0214 isfinite 0E-1007 -> 1
464 bool0215 isfinite -0E-1007 -> 1
465 bool0216 isfinite 0E-1006 -> 1
466 bool0217 isfinite -0E-1006 -> 1
467 bool0218 isfinite 0E-1000 -> 1
468 bool0219 isfinite -0E-1000 ->
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/decimaltestdata/
extra.decTest 459 bool0210 isfinite 0E-2000 -> 1
460 bool0211 isfinite -0E-2000 -> 1
461 bool0212 isfinite 0E-1008 -> 1
462 bool0213 isfinite -0E-1008 -> 1
463 bool0214 isfinite 0E-1007 -> 1
464 bool0215 isfinite -0E-1007 -> 1
465 bool0216 isfinite 0E-1006 -> 1
466 bool0217 isfinite -0E-1006 -> 1
467 bool0218 isfinite 0E-1000 -> 1
468 bool0219 isfinite -0E-1000 ->
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/animation/
Timing.h 70 ASSERT(std::isfinite(startDelay));
71 ASSERT(std::isfinite(iterationStart));
75 ASSERT(std::isfinite(playbackRate));
TimedItemCalculations.h 116 ASSERT(std::isfinite(iterationCount));
131 if (!std::isfinite(scaledActiveTime)
135 ASSERT(std::isfinite(scaledActiveTime));
189 if (!std::isfinite(iterationDuration))
  /external/chromium_org/chrome/browser/resources/local_ntp/
instant_iframe_validation.js 19 if (isFinite(color) && Math.floor(color) == color &&
35 return isFinite(component) && component >= 0 && component <= 255;
  /external/chromium_org/v8/test/mjsunit/regress/
regress-1177518.js 31 isFinite = 0;
38 // uses Math.abs, Math.floor and isFinite
  /external/v8/test/mjsunit/regress/
regress-1177518.js 31 isFinite = 0;
38 // uses Math.abs, Math.floor and isFinite
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLMeterElement.cpp 80 if (!std::isfinite(min)) {
94 if (!std::isfinite(max)) {
109 if (!std::isfinite(value)) {
124 if (!std::isfinite(low)) {
139 if (!std::isfinite(high)) {
154 if (!std::isfinite(optimum)) {
  /external/eigen/test/
stable_norm.cpp 20 template<typename T> bool isFinite(const T& x)
74 // test isFinite
75 VERIFY(!isFinite( std::numeric_limits<RealScalar>::infinity()));
76 VERIFY(!isFinite(internal::sqrt(-internal::abs(big))));
79 VERIFY(isFinite(internal::sqrt(size)*internal::abs(big)));
86 VERIFY(isFinite(internal::sqrt(size)*internal::abs(small)));
  /external/chromium_org/third_party/WebKit/Source/core/svg/animation/
SMILTime.h 46 bool isFinite() const { return m_time < indefiniteValue; }
83 inline bool operator==(const SMILTime& a, const SMILTime& b) { return a.isFinite() && a.value() == b.value(); }
84 inline bool operator!(const SMILTime& a) { return !a.isFinite() || !a.value(); }
  /external/chromium_org/third_party/WebKit/Source/wtf/
DecimalNumber.h 44 ASSERT(std::isfinite(d));
58 ASSERT(std::isfinite(d));
72 ASSERT(std::isfinite(d));

Completed in 822 milliseconds

1 2 3 4 5 6 7 8 91011>>