Searched refs:IsInfinite (Results 1 - 6 of 6) sorted by relevance

/external/ceres-solver/include/ceres/
H A Dfpclassify.h51 inline bool IsInfinite(double x) { return _finite(x) == 0 && _isnan(x) == 0; } function in namespace:ceres
67 inline bool IsInfinite(double x) {
72 return !isnan(x) && !IsInfinite(x);
79 inline bool IsInfinite(double x) { return std::isinf(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
512 bool IsInfinite(const Jet<T, N>& f) { function in namespace:ceres
513 if (IsInfinite(f.a)) {
517 if (IsInfinite(f.v[i])) {
/external/v8/test/cctest/
H A Dtest-double.cc128 TEST(IsInfinite) {
129 CHECK(Double(V8_INFINITY).IsInfinite());
130 CHECK(Double(-V8_INFINITY).IsInfinite());
131 CHECK(!Double(v8::base::OS::nan_value()).IsInfinite());
132 CHECK(!Double(0.0).IsInfinite());
133 CHECK(!Double(-0.0).IsInfinite());
134 CHECK(!Double(1.0).IsInfinite());
135 CHECK(!Double(-1.0).IsInfinite());
137 CHECK(!Double(min_double64).IsInfinite());
/external/ceres-solver/internal/ceres/
H A Dconjugate_gradients_solver.cc56 return ((x == 0.0) || (IsInfinite(x)));
152 if ((pq <= 0) || IsInfinite(pq)) {
159 if (IsInfinite(alpha)) {
H A Djet_test.cc329 EXPECT_TRUE(IsInfinite(a));
340 EXPECT_FALSE(IsInfinite(a));
351 EXPECT_TRUE(IsInfinite(a));
362 EXPECT_FALSE(IsInfinite(a));
/external/v8/src/
H A Ddouble.h110 bool IsInfinite() const { function in class:v8::internal::Double

Completed in 557 milliseconds