Home
last modified time | relevance | path

Searched refs:IsNaN (Results 1 – 25 of 28) sorted by relevance

12

/external/ceres-solver/include/ceres/
Dfpclassify.h52 inline bool IsNaN (double x) { return _isnan(x) != 0; } in IsNaN() function
63 inline bool IsNaN (double x) { return isnan(x); }
80 inline bool IsNaN (double x) { return std::isnan(x); }
Djet.h526 bool IsNaN(const Jet<T, N>& f) { in IsNaN() function
527 if (IsNaN(f.a)) { in IsNaN()
531 if (IsNaN(f.v[i])) { in IsNaN()
/external/ImageMagick/MagickCore/
Dmagick-type.h163 # define IsNaN(a) isnan(a) macro
166 # define IsNaN(a) _isnan(a) macro
168 # define IsNaN(a) (a != a) macro
Dmorphology.c2402 if ( IsNaN(kernel1->values[i]) && !IsNaN(kernel2->values[i]) ) in SameKernelInfo()
2404 if ( IsNaN(kernel2->values[i]) && !IsNaN(kernel1->values[i]) ) in SameKernelInfo()
2728 if (!IsNaN(*k)) in MorphologyPrimitive()
2740 if (!IsNaN(*k)) in MorphologyPrimitive()
2927 if (!IsNaN(*k)) in MorphologyPrimitive()
2947 if (!IsNaN(*k)) in MorphologyPrimitive()
2976 if (!IsNaN(*k) && (*k >= 0.5)) in MorphologyPrimitive()
3007 if (!IsNaN(*k) && (*k > 0.5)) in MorphologyPrimitive()
3041 if (!IsNaN(*k)) in MorphologyPrimitive()
3084 if (!IsNaN(*k) && (*k >= 0.5)) in MorphologyPrimitive()
[all …]
Dquantize.c876 if (IsNaN(distance)) in ClassifyImageColors()
983 if (IsNaN(distance) != MagickFalse) in ClassifyImageColors()
Dfx.c2646 return(!!IsNaN(alpha)); in FxEvaluateSubexpression()
/external/ceres-solver/internal/ceres/
Djet_test.cc330 EXPECT_TRUE(IsNaN(a)); in TEST()
341 EXPECT_TRUE(IsNaN(a)); in TEST()
352 EXPECT_FALSE(IsNaN(a)); in TEST()
363 EXPECT_FALSE(IsNaN(a)); in TEST()
Drotation_test.cc677 EXPECT_FALSE(IsNaN(x)); in IsClose()
678 EXPECT_FALSE(IsNaN(y)); in IsClose()
/external/v8/src/js/
Dtypedarray.js39 var IsNaN;
89 IsNaN = from.IsNaN;
567 if (IsNaN(x) && IsNaN(y)) {
568 return IsNaN(y) ? 0 : 1;
570 if (IsNaN(x)) {
Di18n.js24 var IsNaN;
52 IsNaN = from.IsNaN;
1110 if (IsNaN(value) || value < min || value > max) {
2133 if (IsNaN(date)) return 'Invalid Date';
Dv8natives.js1179 to.IsNaN = GlobalIsNaN;
/external/v8/src/
Dobjects-debug.cc463 CHECK(year()->IsUndefined() || year()->IsSmi() || year()->IsNaN()); in JSDateVerify()
464 CHECK(month()->IsUndefined() || month()->IsSmi() || month()->IsNaN()); in JSDateVerify()
465 CHECK(day()->IsUndefined() || day()->IsSmi() || day()->IsNaN()); in JSDateVerify()
466 CHECK(weekday()->IsUndefined() || weekday()->IsSmi() || weekday()->IsNaN()); in JSDateVerify()
467 CHECK(hour()->IsUndefined() || hour()->IsSmi() || hour()->IsNaN()); in JSDateVerify()
468 CHECK(min()->IsUndefined() || min()->IsSmi() || min()->IsNaN()); in JSDateVerify()
469 CHECK(sec()->IsUndefined() || sec()->IsSmi() || sec()->IsNaN()); in JSDateVerify()
472 cache_stamp()->IsNaN()); in JSDateVerify()
/external/v8/test/cctest/compiler/
Dtest-js-context-specialization.cc314 CHECK(T.Call(T.Val(0.0), T.Val(0.0)).ToHandleChecked()->IsNaN()); in TEST()
315 CHECK(T.Call(T.Val(2.0), T.Val(0.0)).ToHandleChecked()->IsNaN()); in TEST()
316 CHECK(T.Call(T.Val(-2.1), T.Val(0.0)).ToHandleChecked()->IsNaN()); in TEST()
/external/v8/testing/
Dgmock-support.h85 MATCHER(IsNaN, std::string(negation ? "isn't" : "is") + " not a number") {
/external/v8/src/compiler/
Dmachine-operator-reducer.cc314 if (m.right().IsNaN()) { // x + NaN => NaN in Reduce()
327 if (m.right().IsNaN()) { // x - NaN => NaN in Reduce()
330 if (m.left().IsNaN()) { // NaN - x => NaN in Reduce()
347 if (m.right().IsNaN()) { // x * NaN => NaN in Reduce()
358 if (m.right().IsNaN()) { // x / NaN => NaN in Reduce()
361 if (m.left().IsNaN()) { // NaN / x => NaN in Reduce()
374 if (m.right().IsNaN()) { // x % NaN => NaN in Reduce()
377 if (m.left().IsNaN()) { // NaN % x => NaN in Reduce()
Dnode-matchers.h160 bool IsNaN() const { return this->HasValue() && std::isnan(this->Value()); } in IsNaN() function
/external/skia/src/animator/
DSkAnimatorScript.h58 static bool IsNaN(const char* function, size_t len, SkTDArray<SkScriptValue>& params,
DSkAnimatorScript.cpp59 functionCallBack(IsNaN, (void*) this); in SkAnimatorScript()
387 bool SkAnimatorScript::IsNaN(const char* function, size_t len, SkTDArray<SkScriptValue>& params, in IsNaN() function in SkAnimatorScript
/external/protobuf/src/google/protobuf/stubs/
Dstrutil.cc58 inline bool IsNaN(double value) { in IsNaN() function
1180 } else if (IsNaN(value)) { in DoubleToBuffer()
1235 } else if (IsNaN(value)) { in FloatToBuffer()
/external/ceres-solver/google3/
Djet_traits.h47 static bool IsNaN (const Type x) { return isnan(x); }
/external/protobuf/src/google/protobuf/
Dtext_format_unittest.cc59 inline bool IsNaN(double value) { in IsNaN() function
900 EXPECT_TRUE(IsNaN(message.repeated_double(11))); in TEST_F()
901 EXPECT_TRUE(IsNaN(message.repeated_double(12))); in TEST_F()
/external/v8/test/unittests/compiler/
Djs-typed-lowering-unittest.cc21 using testing::IsNaN;
174 EXPECT_THAT(r.replacement(), IsNumberConstant(IsNaN())); in TEST_F()
180 EXPECT_THAT(r.replacement(), IsNumberConstant(IsNaN())); in TEST_F()
185 EXPECT_THAT(r.replacement(), IsNumberConstant(IsNaN())); in TEST_F()
/external/v8/src/debug/
Dmirrors.js13 var IsNaN = global.isNaN;
141 if (mirror.isNumber() && IsNaN(mirror.value()) &&
142 typeof value == 'number' && IsNaN(value)) {
2988 if (IsNaN(value)) {
Ddebug.js14 var IsNaN = global.isNaN;
2230 if (IsNaN(types) || types < 0) {
2253 if (!IsNaN(num)) {
/external/v8/src/runtime/
Druntime-strings.cc1194 if (code->IsNaN()) return isolate->heap()->empty_string(); in RUNTIME_FUNCTION()

12