Home
last modified time | relevance | path

Searched refs:IsInfinite (Results 1 – 7 of 7) sorted by relevance

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