HomeSort by relevance Sort by last modified time
    Searched refs:IsNaN (Results 1 - 25 of 30) sorted by null

1 2

  /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/chromium_org/base/
float_util.h 26 inline bool IsNaN(const Float& number) {
28 return std::isnan(number) != 0;
  /external/chromium_org/content/common/android/
gin_java_bridge_value_unittest.cc 44 EXPECT_FALSE(base::IsNaN(native_float));
61 EXPECT_FALSE(base::IsNaN(native_float));
  /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/chromium_org/ui/events/gesture_detection/
scale_gesture_detector.cc 300 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/
websourcebuffer_impl.cc 19 DCHECK(!base::IsNaN(time));
  /external/chromium_org/third_party/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 },
  /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 },
  /external/chromium_org/v8/src/
objects-debug.cc 373 CHECK(!std::isnan(value) ||
430 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());
    [all...]
  /external/chromium_org/v8/src/compiler/
machine-operator-reducer.cc 356 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
node-matchers.h 90 bool IsNaN() const { return this->HasValue() && std::isnan(this->Value()); }
simplified-operator-reducer-unittest.cc 118 MATCHER(IsNaN, std::string(negation ? "isn't" : "is") + " NaN") {
119 return std::isnan(arg);
345 EXPECT_THAT(reduction.replacement(), IsFloat64Constant(IsNaN()));
354 EXPECT_THAT(reduction.replacement(), IsFloat64Constant(IsNaN()));
  /external/chromium_org/v8/test/cctest/compiler/
test-js-context-specialization.cc 303 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/
jet_traits.h 47 static bool IsNaN (const Type x) { return isnan(x); }
  /external/chromium_org/base/time/
time.cc 130 if (dt == 0 || IsNaN(dt))
  /external/chromium_org/content/renderer/java/
gin_java_bridge_value_converter_unittest.cc 73 EXPECT_FALSE(base::IsNaN(native_float));
  /external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
strutil.cc 58 inline bool IsNaN(double value) {
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/
text_format_unittest.cc 59 inline bool IsNaN(double value) {
713 EXPECT_TRUE(IsNaN(message.repeated_double(11)));
714 EXPECT_TRUE(IsNaN(message.repeated_double(12)));
    [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) {
651 EXPECT_TRUE(IsNaN(message.repeated_double(11)));
652 EXPECT_TRUE(IsNaN(message.repeated_double(12)));
    [all...]
  /external/chromium_org/content/browser/renderer_host/input/
motion_event_android.cc 119 return base::IsNaN(x) ? 0.f : x;

Completed in 656 milliseconds

1 2