/external/v8/test/unittests/base/ |
ieee754-unittest.cc | 13 using testing::IsNaN; 28 EXPECT_THAT(atan(std::numeric_limits<double>::quiet_NaN()), IsNaN()); 29 EXPECT_THAT(atan(std::numeric_limits<double>::signaling_NaN()), IsNaN()); 41 IsNaN()); 44 IsNaN()); 47 IsNaN()); 50 IsNaN()); 66 EXPECT_THAT(atanh(std::numeric_limits<double>::quiet_NaN()), IsNaN()); 67 EXPECT_THAT(atanh(std::numeric_limits<double>::signaling_NaN()), IsNaN()); 68 EXPECT_THAT(atanh(std::numeric_limits<double>::infinity()), IsNaN()); [all...] |
/external/ceres-solver/include/ceres/ |
fpclassify.h | 32 // do not collide with macros. For example, "isnan" in C99 is a macro and hence 52 inline bool IsNaN (double x) { return _isnan(x) != 0; } 61 // On Android, when using the STLPort, the C++ isnan and isnormal functions 63 inline bool IsNaN (double x) { return isnan(x); } 72 return !isnan(x) && !IsInfinite(x); 80 inline bool IsNaN (double x) { return std::isnan(x); }
|
jet.h | 489 // to be finite (or normal). For IsNaN and IsInfinite, the answer is less 490 // clear. This takes a "any" approach for IsNaN and IsInfinite such that if any 492 // to strange situations like a jet can be both IsInfinite and IsNaN, but in 526 bool IsNaN(const Jet<T, N>& f) { 527 if (IsNaN(f.a)) { 531 if (IsNaN(f.v[i])) {
|
/external/ImageMagick/MagickCore/ |
magick-type.h | 152 The IsNaN test is for special floating point numbers of value Nan (not a 163 # define IsNaN(a) isnan(a) 166 # define IsNaN(a) _isnan(a) 168 # define IsNaN(a) (a != a)
|
morphology.c | [all...] |
/external/v8/testing/ |
gmock-support.h | 85 MATCHER(IsNaN, std::string(negation ? "isn't" : "is") + " not a number") { 86 return std::isnan(arg);
|
/external/ceres-solver/internal/ceres/ |
jet_test.cc | 330 EXPECT_TRUE(IsNaN(a)); 341 EXPECT_TRUE(IsNaN(a)); 352 EXPECT_FALSE(IsNaN(a)); 363 EXPECT_FALSE(IsNaN(a));
|
rotation_test.cc | 677 EXPECT_FALSE(IsNaN(x)); 678 EXPECT_FALSE(IsNaN(y)); [all...] |
/external/v8/test/cctest/compiler/ |
test-js-context-specialization.cc | 243 CHECK(T.Call(T.Val(0.0), T.Val(0.0)).ToHandleChecked()->IsNaN()); 244 CHECK(T.Call(T.Val(2.0), T.Val(0.0)).ToHandleChecked()->IsNaN()); 245 CHECK(T.Call(T.Val(-2.1), T.Val(0.0)).ToHandleChecked()->IsNaN());
|
/external/skia/src/animator/ |
SkAnimatorScript.h | 58 static bool IsNaN(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
|
SkAnimatorScript.cpp | 59 functionCallBack(IsNaN, (void*) this); 387 bool SkAnimatorScript::IsNaN(const char* function, size_t len, SkTDArray<SkScriptValue>& params, 389 if (SK_LITERAL_STR_EQUAL("isNaN", function, len) == false) 523 { "isNaN(Number.NaN)", SkType_Int, 1 DEFAULT_ANSWER DEFAULT_ANSWER }, 524 { "isNaN(NaN)", SkType_Int, 1 DEFAULT_ANSWER DEFAULT_ANSWER },
|
/art/compiler/optimizing/ |
constant_folding.cc | 208 ((input_cst->IsFloatConstant() && input_cst->AsFloatConstant()->IsNaN()) || 209 (input_cst->IsDoubleConstant() && input_cst->AsDoubleConstant()->IsNaN()))) {
|
/external/v8/src/ |
objects-debug.cc | 458 CHECK(year()->IsUndefined(isolate) || year()->IsSmi() || year()->IsNaN()); 459 CHECK(month()->IsUndefined(isolate) || month()->IsSmi() || month()->IsNaN()); 460 CHECK(day()->IsUndefined(isolate) || day()->IsSmi() || day()->IsNaN()); 462 weekday()->IsNaN()); 463 CHECK(hour()->IsUndefined(isolate) || hour()->IsSmi() || hour()->IsNaN()); 464 CHECK(min()->IsUndefined(isolate) || min()->IsSmi() || min()->IsNaN()); 465 CHECK(sec()->IsUndefined(isolate) || sec()->IsSmi() || sec()->IsNaN()); 467 cache_stamp()->IsNaN()); [all...] |
/external/v8/src/compiler/ |
machine-operator-reducer.cc | 285 if (m.right().IsNaN()) { // x + NaN => NaN 298 if (m.right().IsNaN()) { // x - NaN => NaN 301 if (m.left().IsNaN()) { // NaN - x => NaN 318 if (m.right().IsNaN()) { // x * NaN => NaN 329 if (m.right().IsNaN()) { // x / NaN => NaN 332 if (m.left().IsNaN()) { // NaN / x => NaN 345 if (m.right().IsNaN()) { // x % NaN => NaN 348 if (m.left().IsNaN()) { // NaN % x => NaN 363 if (m.right().IsNaN()) { 366 if (m.left().IsNaN()) { [all...] |
node-matchers.h | 160 bool IsNaN() const { return this->HasValue() && std::isnan(this->Value()); }
|
/external/v8/src/js/ |
typedarray.js | 41 var IsNaN; 94 IsNaN = from.IsNaN; 553 } else if (IsNaN(x) && IsNaN(y)) { 554 return IsNaN(y) ? 0 : 1; 555 } else if (IsNaN(x)) {
|
prologue.js | 193 "IsNaN",
|
v8natives.js | 34 // ES6 18.2.3 isNaN(number) 107 "isNaN", GlobalIsNaN, 359 // Harmony isNaN. 419 "isNaN", NumberIsNaN, 452 to.IsNaN = GlobalIsNaN;
|
i18n.js | 33 var IsNaN; 52 IsNaN = from.IsNaN; [all...] |
/external/ceres-solver/google3/ |
jet_traits.h | 47 static bool IsNaN (const Type x) { return isnan(x); }
|
/external/v8/test/unittests/compiler/ |
js-create-lowering-unittest.cc | 21 using testing::IsNaN;
|
js-typed-lowering-unittest.cc | 21 using testing::IsNaN; 163 EXPECT_THAT(r.replacement(), IsNumberConstant(IsNaN())); 169 EXPECT_THAT(r.replacement(), IsNumberConstant(IsNaN())); 174 EXPECT_THAT(r.replacement(), IsNumberConstant(IsNaN())); [all...] |
/external/protobuf/src/google/protobuf/stubs/ |
strutil.cc | 58 inline bool IsNaN(double value) { [all...] |
/external/protobuf/src/google/protobuf/ |
text_format_unittest.cc | 59 inline bool IsNaN(double value) { 900 EXPECT_TRUE(IsNaN(message.repeated_double(11))); 901 EXPECT_TRUE(IsNaN(message.repeated_double(12))); [all...] |
/art/compiler/dex/quick/ |
dex_file_method_inliner.cc | 275 "isNaN", // kNameCacheIsNaN 489 INTRINSIC(JavaLangFloat, IsNaN, F_Z, kIntrinsicFloatIsNaN, 0), 490 INTRINSIC(JavaLangDouble, IsNaN, D_Z, kIntrinsicDoubleIsNaN, 0), [all...] |