Searched defs:nan (Results 1 - 25 of 30) sorted by relevance

12

/external/v8/test/cctest/
H A Dtest-checks.cc20 double nan = v8::base::OS::nan_value(); local
21 double constants[] = {-nan, -inf, -3.1415, -1.0, -0.1, -0.0,
22 0.0, 0.1, 1.0, 3.1415, inf, nan};
/external/v8/test/webkit/fast/js/
H A Dnumber-toString.js26 var nan = 0/0; variable
40 shouldThrow("(1234.567).toString(nan)"); // nan is treated like 0
91 shouldBeEqualToString("nan.toString()", "NaN");
H A Dnumber-tofixed.js61 var nan = 0/0; variable
76 shouldBeEqualToString("(1234.567).toFixed(nan)", "1235"); // nan is treated like 0
102 shouldBeEqualToString("nan.toFixed()", "NaN");
H A Dnumber-toprecision.js35 var nan = 0/0; variable
61 shouldThrow("(1234.567).toPrecision(nan)"); // nan is treated like 0
65 shouldBeEqualToString("nan.toPrecision()", "NaN");
/external/v8/test/webkit/
H A Dnumber-toExponential.js26 var nan = 0/0; variable
40 shouldBeEqualToString("(123.456).toExponential(nan)", "1e+2"); // nan is treated like 0
65 shouldBeEqualToString("nan.toExponential()", "NaN");
/external/eigen/test/
H A Dspecial_numbers.cpp18 Scalar nan = std::numeric_limits<Scalar>::quiet_NaN(); local
30 mnan(internal::random<int>(0,rows-1), internal::random<int>(0,cols-1)) = nan;
/external/skia/tests/
H A DInfRectTest.cpp60 float nan = inf * 0; local
61 SkASSERT(!(nan == nan));
70 const SkScalar invalid[] = { nan, inf, -inf };
H A DScalarTest.cpp135 float nan = inf * 0; local
142 test_floatclass(reporter, nan, kNaN);
143 test_floatclass(reporter, -nan, kNaN);
155 { nan, false },
H A DMathTest.cpp310 float nan = sk_float_asin(2); local
319 REPORTER_ASSERT(reporter, SkScalarIsNaN(nan));
324 REPORTER_ASSERT(reporter, !SkScalarIsFinite(nan));
H A DPathTest.cpp660 const SkScalar nan = SK_ScalarNaN; local
667 r.set(0, 0, nan, 0);
685 pts[1].set(nan, 0);
694 const SkScalar nan = SK_ScalarNaN; local
711 path.moveTo(nan, 0);
/external/icu/icu4c/source/test/intltest/
H A Dtsputil.cpp36 double nan = uprv_getNaN();
66 // test infinity and nan
68 remainderTest(ninf, nan, 1.25);
69 remainderTest(pinf, nan, 1.25);
102 double nan = uprv_getNaN(); local
125 maxMinTest(pinf, nan, nan, TRUE);
126 maxMinTest(pinf, nan, nan, FALSE);
127 maxMinTest(ninf, nan, na
372 double nan = uprv_getNaN(); local
399 double nan = uprv_getNaN(); local
426 double nan = uprv_getNaN(); local
453 double nan = uprv_getNaN(); local
480 double nan = uprv_getNaN(); local
507 double nan = uprv_getNaN(); local
534 double nan = uprv_getNaN(); local
[all...]
/external/v8/test/cctest/compiler/
H A Dfunction-tester.h176 Handle<Object> nan() { return isolate->factory()->nan_value(); } function in class:v8::internal::compiler::FunctionTester
H A Dvalue-helper.h64 static const double nan = v8::base::OS::nan_value(); local
71 -V8_INFINITY, nan, 2147483647.375, 2147483647.75,
96 static const double nan = v8::base::OS::nan_value(); local
97 static const double values[] = {-nan, -V8_INFINITY * -0.0,
99 V8_INFINITY * 0.0, nan};
H A Dtest-run-machops.cc3692 double nan = v8::base::OS::nan_value(); local
3699 Node* b = m.Float64Constant(nan);
/external/valgrind/none/tests/ppc32/
H A Dpower5+_round.c44 double inf, neg0, nan; local
54 nan = strtod("nan", NULL);
59 double set[] = { inf, 1.5, 0, neg0, -1.5, -inf, nan };
84 double set[] = { inf, 1.9, 1.1, 0, neg0, -1.1, -1.9, -inf, nan };
85 double frin[] = { inf, 2.0, 1.0, 0, neg0, -1.0, -2.0, -inf, nan };
86 double friz[] = { inf, 1.0, 1.0, 0, neg0, -1.0, -1.0, -inf, nan };
87 double frip[] = { inf, 2.0, 2.0, 0, neg0, -1.0, -1.0, -inf, nan };
88 double frim[] = { inf, 1.0, 1.0, 0, neg0, -2.0, -2.0, -inf, nan };
122 double set1[] = { inf, 0.9, 0.1, 0, neg0, -0.1, -0.9, -inf, nan };
[all...]
/external/deqp/framework/common/
H A DtcuFloat.hpp124 static Float nan (void);
198 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::nan (void) function in class:tcu::Float
256 return nan();
H A DtcuInterval.hpp82 Interval nan (void) const { return m_hasNaN ? TCU_NAN : Interval(); } function in class:tcu::Interval
130 static Interval unbounded (bool nan = false)
132 return Interval(nan, -TCU_INFINITY, TCU_INFINITY);
/external/llvm/unittests/ADT/
H A DAPFloatTest.cpp536 APFloat nan = APFloat::getNaN(APFloat::IEEEdouble); local
540 EXPECT_EQ(1.0, minnum(f1, nan).convertToDouble());
541 EXPECT_EQ(1.0, minnum(nan, f1).convertToDouble());
547 APFloat nan = APFloat::getNaN(APFloat::IEEEdouble); local
551 EXPECT_EQ(1.0, maxnum(f1, nan).convertToDouble());
552 EXPECT_EQ(1.0, minnum(nan, f1).convertToDouble());
1643 { PInf, MInf, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
1646 { PInf, QNaN, "nan", APFloat::opOK, APFloat::fcNaN },
1649 { PInf, SNaN, "nan", APFloat::opInvalidOp, APFloat::fcNaN },
1659 { MInf, PInf, "nan", APFloa
[all...]
/external/v8/src/
H A Dassembler.h84 static void QuietNaN(HeapObject* nan) { } argument
/external/v8/src/mips/
H A Dmacro-assembler-mips.h768 Label* nan,
777 Label* nan,
781 BranchF(target, nan, cc, cmp1, cmp2, bd);
775 BranchF(BranchDelaySlot bd, Label* target, Label* nan, Condition cc, FPURegister cmp1, FPURegister cmp2) argument
H A Dcode-stubs-mips.cc669 Label nan; local
675 __ BranchF(NULL, &nan, eq, f12, f14);
704 __ bind(&nan);
/external/v8/src/mips64/
H A Dmacro-assembler-mips64.h794 Label* nan,
803 Label* nan,
807 BranchF(target, nan, cc, cmp1, cmp2, bd);
801 BranchF(BranchDelaySlot bd, Label* target, Label* nan, Condition cc, FPURegister cmp1, FPURegister cmp2) argument
H A Dcode-stubs-mips64.cc665 Label nan; local
671 __ BranchF(NULL, &nan, eq, f12, f14);
699 __ bind(&nan);
/external/v8/src/arm/
H A Dcode-stubs-arm.cc427 // We now have both loaded as doubles but we can skip the lhs nan check
640 Label nan; local
641 __ b(vs, &nan);
647 __ bind(&nan);
/external/v8/src/arm64/
H A Dcode-stubs-arm64.cc532 Label nan; local
534 __ B(vs, &nan); // Overflow flag set if either is NaN.
540 __ Bind(&nan);

Completed in 1224 milliseconds

12