Searched refs:IsNaN (Results 1 - 25 of 29) sorted by relevance

12

/external/v8/test/unittests/base/
H A Dieee754-unittest.cc13 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/
H A Dfpclassify.h52 inline bool IsNaN (double x) { return _isnan(x) != 0; } function in namespace:ceres
63 inline bool IsNaN (double x) { return isnan(x); }
80 inline bool IsNaN (double x) { return std::isnan(x); }
H A Djet.h489 // 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) { function in namespace:ceres
527 if (IsNaN(f.a)) {
531 if (IsNaN(f.v[i])) {
/external/ImageMagick/MagickCore/
H A Dmagick-type.h152 The IsNaN test is for special floating point numbers of value Nan (not a
163 # define IsNaN(a) isnan(a) macro
166 # define IsNaN(a) _isnan(a) macro
168 # define IsNaN(a) (a != a) macro
H A Dmorphology.c2410 if ( IsNaN(kernel1->values[i]) && !IsNaN(kernel2->values[i]) )
2412 if ( IsNaN(kernel2->values[i]) && !IsNaN(kernel1->values[i]) )
2738 if (!IsNaN(*k))
2750 if (!IsNaN(*k))
2937 if (!IsNaN(*k))
2957 if (!IsNaN(*k))
2986 if (!IsNaN(*k) && (*k >= 0.5))
3017 if (!IsNaN(*
[all...]
H A Dquantize.c883 if (IsNaN(distance))
990 if (IsNaN(distance) != MagickFalse)
/external/v8/testing/
H A Dgmock-support.h85 MATCHER(IsNaN, std::string(negation ? "isn't" : "is") + " not a number") {
/external/ceres-solver/internal/ceres/
H A Djet_test.cc330 EXPECT_TRUE(IsNaN(a));
341 EXPECT_TRUE(IsNaN(a));
352 EXPECT_FALSE(IsNaN(a));
363 EXPECT_FALSE(IsNaN(a));
H A Drotation_test.cc677 EXPECT_FALSE(IsNaN(x));
678 EXPECT_FALSE(IsNaN(y));
/external/v8/test/cctest/compiler/
H A Dtest-js-context-specialization.cc243 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/
H A DSkAnimatorScript.h58 static bool IsNaN(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
H A DSkAnimatorScript.cpp59 functionCallBack(IsNaN, (void*) this);
387 bool SkAnimatorScript::IsNaN(const char* function, size_t len, SkTDArray<SkScriptValue>& params, function in class:SkAnimatorScript
/external/v8/src/js/
H A Dtypedarray.js41 var IsNaN; variable
94 IsNaN = from.IsNaN;
553 } else if (IsNaN(x) && IsNaN(y)) {
554 return IsNaN(y) ? 0 : 1;
555 } else if (IsNaN(x)) {
H A Dv8natives.js452 to.IsNaN = GlobalIsNaN;
H A Di18n.js33 var IsNaN;
52 IsNaN = from.IsNaN;
2188 if (IsNaN(date)) return 'Invalid Date';
/external/v8/src/
H A Dobjects-debug.cc458 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());
/external/v8/src/compiler/
H A Dmachine-operator-reducer.cc285 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...]
H A Dnode-matchers.h160 bool IsNaN() const { return this->HasValue() && std::isnan(this->Value()); } function in struct:v8::internal::compiler::final
/external/ceres-solver/google3/
H A Djet_traits.h47 static bool IsNaN (const Type x) { return isnan(x); } function in struct:MathLimits
/external/v8/test/unittests/compiler/
H A Djs-create-lowering-unittest.cc21 using testing::IsNaN;
H A Djs-typed-lowering-unittest.cc21 using testing::IsNaN;
163 EXPECT_THAT(r.replacement(), IsNumberConstant(IsNaN()));
169 EXPECT_THAT(r.replacement(), IsNumberConstant(IsNaN()));
174 EXPECT_THAT(r.replacement(), IsNumberConstant(IsNaN()));
/external/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc58 inline bool IsNaN(double value) { function in namespace:google::protobuf
1180 } else if (IsNaN(value)) {
1235 } else if (IsNaN(value)) {
/external/protobuf/src/google/protobuf/
H A Dtext_format_unittest.cc59 inline bool IsNaN(double value) { function in namespace:google::protobuf::text_format_unittest
900 EXPECT_TRUE(IsNaN(message.repeated_double(11)));
901 EXPECT_TRUE(IsNaN(message.repeated_double(12)));
/external/v8/src/debug/
H A Dmirrors.js13 var IsNaN = global.isNaN; variable
141 if (mirror.isNumber() && IsNaN(mirror.value()) &&
142 typeof value == 'number' && IsNaN(value)) {
2985 if (IsNaN(value)) {
H A Ddebug.js14 var IsNaN = global.isNaN; variable
2127 if (IsNaN(types) || types < 0) {
2150 if (!IsNaN(num)) {

Completed in 595 milliseconds

12