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

12

/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/chromium_org/base/
H A Dfloat_util.h26 inline bool IsNaN(const Float& number) { function in namespace:base
/external/chromium_org/content/common/android/
H A Dgin_java_bridge_value_unittest.cc44 EXPECT_FALSE(base::IsNaN(native_float));
61 EXPECT_FALSE(base::IsNaN(native_float));
/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/chromium_org/ui/events/gesture_detection/
H A Dscale_gesture_detector.cc300 const bool has_last_accepted = !base::IsNaN(touch_history_last_accepted_);
316 if (base::IsNaN(touch_upper_) || major > touch_upper_) {
319 if (base::IsNaN(touch_lower_) || major < touch_lower_) {
/external/chromium_org/media/blink/
H A Dwebsourcebuffer_impl.cc19 DCHECK(!base::IsNaN(time));
/external/chromium_org/third_party/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/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/chromium_org/v8/src/
H A Dobjects-debug.cc430 CHECK(year()->IsUndefined() || year()->IsSmi() || year()->IsNaN());
431 CHECK(month()->IsUndefined() || month()->IsSmi() || month()->IsNaN());
432 CHECK(day()->IsUndefined() || day()->IsSmi() || day()->IsNaN());
433 CHECK(weekday()->IsUndefined() || weekday()->IsSmi() || weekday()->IsNaN());
434 CHECK(hour()->IsUndefined() || hour()->IsSmi() || hour()->IsNaN());
435 CHECK(min()->IsUndefined() || min()->IsSmi() || min()->IsNaN());
436 CHECK(sec()->IsUndefined() || sec()->IsSmi() || sec()->IsNaN());
439 cache_stamp()->IsNaN());
/external/chromium_org/v8/src/compiler/
H A Dmachine-operator-reducer.cc356 if (m.right().IsNaN()) { // x * NaN => NaN
367 if (m.right().IsNaN()) { // x / NaN => NaN
370 if (m.left().IsNaN()) { // NaN / x => NaN
380 if (m.right().IsNaN()) { // x % NaN => NaN
383 if (m.left().IsNaN()) { // NaN % x => NaN
H A Dnode-matchers.h90 bool IsNaN() const { return this->HasValue() && std::isnan(this->Value()); } function in struct:v8::internal::compiler::FINAL
H A Dsimplified-operator-reducer-unittest.cc118 MATCHER(IsNaN, std::string(negation ? "isn't" : "is") + " NaN") {
345 EXPECT_THAT(reduction.replacement(), IsFloat64Constant(IsNaN()));
354 EXPECT_THAT(reduction.replacement(), IsFloat64Constant(IsNaN()));
/external/chromium_org/v8/test/cctest/compiler/
H A Dtest-js-context-specialization.cc303 CHECK(T.Call(T.Val(0.0), T.Val(0.0)).ToHandleChecked()->IsNaN());
304 CHECK(T.Call(T.Val(2.0), T.Val(0.0)).ToHandleChecked()->IsNaN());
305 CHECK(T.Call(T.Val(-2.1), T.Val(0.0)).ToHandleChecked()->IsNaN());
/external/ceres-solver/google3/
H A Djet_traits.h47 static bool IsNaN (const Type x) { return isnan(x); } function in struct:MathLimits
/external/chromium_org/base/time/
H A Dtime.cc130 if (dt == 0 || IsNaN(dt))
/external/chromium_org/content/renderer/java/
H A Dgin_java_bridge_value_converter_unittest.cc73 EXPECT_FALSE(base::IsNaN(native_float));
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc58 inline bool IsNaN(double value) { function in namespace:google::protobuf
1066 } else if (IsNaN(value)) {
1121 } else if (IsNaN(value)) {
/external/chromium_org/third_party/protobuf/src/google/protobuf/
H A Dtext_format_unittest.cc59 inline bool IsNaN(double value) { function in namespace:google::protobuf::text_format_unittest
713 EXPECT_TRUE(IsNaN(message.repeated_double(11)));
714 EXPECT_TRUE(IsNaN(message.repeated_double(12)));
/external/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc58 inline bool IsNaN(double value) { function in namespace:google::protobuf
1021 } else if (IsNaN(value)) {
1076 } 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
651 EXPECT_TRUE(IsNaN(message.repeated_double(11)));
652 EXPECT_TRUE(IsNaN(message.repeated_double(12)));
/external/chromium_org/content/browser/renderer_host/input/
H A Dmotion_event_android.cc119 return base::IsNaN(x) ? 0.f : x;

Completed in 8063 milliseconds

12