Home
last modified time | relevance | path

Searched refs:infinity (Results 1 – 25 of 506) sorted by relevance

12345678910>>...21

/external/flatbuffers/tests/
Dmonster_extra_generated.h28 testf_pinf(std::numeric_limits<float>::infinity()), in MonsterExtraT()
29 testf_ninf(-std::numeric_limits<float>::infinity()), in MonsterExtraT()
31 testd_pinf(std::numeric_limits<double>::infinity()), in MonsterExtraT()
32 testd_ninf(-std::numeric_limits<double>::infinity()) { in MonsterExtraT()
66 return GetField<float>(VT_TESTF_PINF, std::numeric_limits<float>::infinity()); in testf_pinf()
69 return SetField<float>(VT_TESTF_PINF, _testf_pinf, std::numeric_limits<float>::infinity()); in mutate_testf_pinf()
72 return GetField<float>(VT_TESTF_NINF, -std::numeric_limits<float>::infinity()); in testf_ninf()
75 return SetField<float>(VT_TESTF_NINF, _testf_ninf, -std::numeric_limits<float>::infinity()); in mutate_testf_ninf()
84 return GetField<double>(VT_TESTD_PINF, std::numeric_limits<double>::infinity()); in testd_pinf()
87 return SetField<double>(VT_TESTD_PINF, _testd_pinf, std::numeric_limits<double>::infinity()); in mutate_testd_pinf()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Ddebug_ops_test.cc207 {1.1, 2.2, 3.3, std::numeric_limits<float>::infinity(), 5.5, 6.6}); in TEST_F()
232 {1.1, 2.2, 3.3, std::numeric_limits<double>::infinity(), 5.5, 6.6}); in TEST_F()
272 3.0f, 7.0f, -std::numeric_limits<float>::infinity(), in TEST_F()
273 -std::numeric_limits<float>::infinity(), in TEST_F()
274 std::numeric_limits<float>::infinity(), in TEST_F()
275 std::numeric_limits<float>::infinity(), in TEST_F()
276 std::numeric_limits<float>::infinity(), in TEST_F()
277 std::numeric_limits<float>::infinity(), in TEST_F()
278 std::numeric_limits<float>::infinity(), in TEST_F()
311 7.0, -std::numeric_limits<double>::infinity(), in TEST_F()
[all …]
/external/grpc-grpc/test/core/gpr/
Dtime_test.cc184 gpr_timespec infinity[2]; in test_sticky_infinities() local
186 infinity[0] = gpr_inf_future(GPR_TIMESPAN); in test_sticky_infinities()
187 infinity[1] = gpr_inf_past(GPR_TIMESPAN); in test_sticky_infinities()
193 for (i = 0; i != sizeof(infinity) / sizeof(infinity[0]); i++) { in test_sticky_infinities()
195 gpr_timespec x = gpr_time_add(infinity[i], addend[j]); in test_sticky_infinities()
196 GPR_ASSERT(gpr_time_cmp(x, infinity[i]) == 0); in test_sticky_infinities()
197 x = gpr_time_sub(infinity[i], addend[j]); in test_sticky_infinities()
198 GPR_ASSERT(gpr_time_cmp(x, infinity[i]) == 0); in test_sticky_infinities()
202 gpr_timespec x = gpr_time_add(infinity[i], y); in test_sticky_infinities()
203 GPR_ASSERT(gpr_time_cmp(x, infinity[i]) == 0); in test_sticky_infinities()
[all …]
/external/tensorflow/tensorflow/core/lib/strings/
Dnumbers_test.cc267 EXPECT_EQ(std::numeric_limits<float>::infinity(), result); in TEST()
270 EXPECT_EQ(-std::numeric_limits<float>::infinity(), result); in TEST()
299 EXPECT_EQ(-std::numeric_limits<float>::infinity(), result); in TEST()
302 EXPECT_EQ(std::numeric_limits<float>::infinity(), result); in TEST()
305 EXPECT_EQ(std::numeric_limits<float>::infinity(), result); in TEST()
308 EXPECT_EQ(-std::numeric_limits<float>::infinity(), result); in TEST()
338 EXPECT_EQ(std::numeric_limits<double>::infinity(), result); in TEST()
341 EXPECT_EQ(-std::numeric_limits<double>::infinity(), result); in TEST()
358 EXPECT_EQ(-std::numeric_limits<double>::infinity(), result); in TEST()
361 EXPECT_EQ(std::numeric_limits<double>::infinity(), result); in TEST()
[all …]
Dnumbers.cc43 {"inf", std::numeric_limits<T>::infinity()}, in GetSpecialNumsSingleton()
44 {"+inf", std::numeric_limits<T>::infinity()}, in GetSpecialNumsSingleton()
45 {"-inf", -std::numeric_limits<T>::infinity()}, in GetSpecialNumsSingleton()
46 {"infinity", std::numeric_limits<T>::infinity()}, in GetSpecialNumsSingleton()
47 {"+infinity", std::numeric_limits<T>::infinity()}, in GetSpecialNumsSingleton()
48 {"-infinity", -std::numeric_limits<T>::infinity()}, in GetSpecialNumsSingleton()
96 result == std::numeric_limits<T>::infinity()) { in locale_independent_strtonum()
97 result = std::numeric_limits<T>::infinity(); in locale_independent_strtonum()
100 result == -std::numeric_limits<T>::infinity()) { in locale_independent_strtonum()
101 result = -std::numeric_limits<T>::infinity(); in locale_independent_strtonum()
/external/libcxx/test/std/language.support/support.limits/limits/numeric.limits.members/
Dinfinity.pass.cpp24 assert(std::numeric_limits<T>::infinity() == expected); in test()
25 assert(std::numeric_limits<const T>::infinity() == expected); in test()
26 assert(std::numeric_limits<volatile T>::infinity() == expected); in test()
27 assert(std::numeric_limits<const volatile T>::infinity() == expected); in test()
/external/compiler-rt/lib/builtins/
Dfp_add_impl.inc23 // Detect if a or b is zero, infinity, or NaN.
32 // +/-infinity + -/+infinity = qNaN
34 // +/-infinity + anything remaining = +/- infinity
38 // anything remaining + +/-infinity = +/-infinity
117 // If we have overflowed the type, return +/- infinity:
139 // Final rounding. The result may overflow to infinity, but that is the
Dfp_mul_impl.inc26 // Detect if a or b is zero, denormal, infinity, or NaN.
38 // infinity * non-zero = +/- infinity
40 // infinity * zero = NaN
45 //? non-zero * infinity = +/- infinity
47 // zero * infinity = NaN
84 // If we have overflowed the type, return +/- infinity.
110 // Final rounding. The final result may overflow to infinity, or underflow
/external/tensorflow/tensorflow/core/framework/
Dtensor_testutil_test.cc30 EXPECT_TRUE(Expector<T>::Near(Eigen::NumTraits<T>::infinity(), in TestEdgeCasesNear()
31 Eigen::NumTraits<T>::infinity(), 0.0)); in TestEdgeCasesNear()
34 Eigen::NumTraits<double>::infinity())); in TestEdgeCasesNear()
42 Eigen::NumTraits<double>::infinity())); in TestEdgeCasesNear()
192 EXPECT_TRUE(Helper<T>::IsClose(Eigen::NumTraits<T>::infinity(), in TestEdgeCasesClose()
193 Eigen::NumTraits<T>::infinity(), kZero, in TestEdgeCasesClose()
197 Eigen::NumTraits<T>::infinity(), Eigen::NumTraits<T>::infinity())); in TestEdgeCasesClose()
206 Eigen::NumTraits<T>::infinity(), Eigen::NumTraits<T>::infinity())); in TestEdgeCasesClose()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath_test.cc46 {-std::numeric_limits<T>::infinity(), in TestLogEdgeCases()
47 -std::numeric_limits<T>::infinity()}, in TestLogEdgeCases()
57 &b, {T{0.0}, T{-0.0}, -std::numeric_limits<T>::infinity()}, {}, in TestLog1pEdgeCases()
72 T{std::numeric_limits<float>::infinity()}, in TestIsInfOrNan()
73 T{-std::numeric_limits<float>::infinity()}, in TestIsInfOrNan()
96 T inf(std::numeric_limits<float>::infinity()); in TestIsNegZero()
127 const T inf(std::numeric_limits<float>::infinity()); in TestSqrtPowInequivalence()
146 const T inf(std::numeric_limits<float>::infinity()); in TestErfEdgeCases()
305 std::numeric_limits<half>::infinity(), in XLA_TEST_F()
306 std::numeric_limits<half>::infinity(), in XLA_TEST_F()
/external/epid-sdk/epid/member/tpm2/src/
Dcommit.c67 EcPoint* infinity = NULL; in Tpm2Commit() local
100 sts = NewEcPoint(G1, &infinity); in Tpm2Commit()
150 sts = EcIsEqual(G1, k, infinity, &is_equal); in Tpm2Commit()
156 sts = EcIsEqual(G1, l, infinity, &is_equal); in Tpm2Commit()
172 sts = EcIsEqual(G1, e, infinity, &is_equal); in Tpm2Commit()
184 DeleteEcPoint(&infinity); in Tpm2Commit()
/external/tensorflow/tensorflow/contrib/reduce_slice_ops/kernels/
Dreduce_slice_ops.h43 inline T infinity() { in infinity() function
45 std::numeric_limits<T>::infinity()); in infinity()
50 return std::min<T>(-std::numeric_limits<T>::infinity(), in negative_infinity()
60 func(Min, functor::reduce_functions::infinity, ##__VA_ARGS__)
/external/syzkaller/vendor/google.golang.org/grpc/transport/
Dflowcontrol.go34 infinity = time.Duration(math.MaxInt64) const
35 defaultClientKeepaliveTime = infinity
38 defaultMaxConnectionIdle = infinity
39 defaultMaxConnectionAge = infinity
40 defaultMaxConnectionAgeGrace = infinity
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECAlgorithms.java245 ECPoint infinity = curve.getInfinity(); in implShamirsTrickJsf() local
256 points[0].negate(), infinity, points[0], in implShamirsTrickJsf()
261 ECPoint R = infinity; in implShamirsTrickJsf()
333 ECPoint infinity = curve.getInfinity();
335 ECPoint R = infinity;
349 ECPoint r = infinity;
467 ECPoint infinity = curve.getInfinity();
469 ECPoint R = infinity;
474 ECPoint r = infinity;
489 if (r == infinity)
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/
DECAlgorithms.java249 ECPoint infinity = curve.getInfinity(); in implShamirsTrickJsf() local
260 points[0].negate(), infinity, points[0], in implShamirsTrickJsf()
265 ECPoint R = infinity; in implShamirsTrickJsf()
337 ECPoint infinity = curve.getInfinity();
339 ECPoint R = infinity;
353 ECPoint r = infinity;
471 ECPoint infinity = curve.getInfinity();
473 ECPoint R = infinity;
478 ECPoint r = infinity;
493 if (r == infinity)
/external/icu/icu4c/source/data/rbnf/
Dff.txt13 "Inf: infinity;",
38 "Inf: infinity;",
63 "Inf: infinity;",
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_util.cc202 -std::numeric_limits<float>::infinity()); in MinValue()
205 -std::numeric_limits<double>::infinity()); in MinValue()
217 static_cast<half>(-std::numeric_limits<float>::infinity())); in MinValue()
220 static_cast<bfloat16>(-std::numeric_limits<float>::infinity())); in MinValue()
246 std::numeric_limits<float>::infinity()); in MaxValue()
249 std::numeric_limits<double>::infinity()); in MaxValue()
257 static_cast<half>(std::numeric_limits<float>::infinity())); in MaxValue()
260 static_cast<bfloat16>(std::numeric_limits<float>::infinity())); in MaxValue()
/external/protobuf/src/google/protobuf/util/
Dfield_comparator_test.cc368 message_1_.set_optional_float(numeric_limits<float>::infinity()); in TEST_F()
369 message_2_.set_optional_float(numeric_limits<float>::infinity()); in TEST_F()
370 message_1_.set_optional_double(numeric_limits<double>::infinity()); in TEST_F()
371 message_2_.set_optional_double(numeric_limits<double>::infinity()); in TEST_F()
383 message_1_.set_optional_float(-numeric_limits<float>::infinity()); in TEST_F()
384 message_2_.set_optional_float(-numeric_limits<float>::infinity()); in TEST_F()
385 message_1_.set_optional_double(-numeric_limits<double>::infinity()); in TEST_F()
386 message_2_.set_optional_double(-numeric_limits<double>::infinity()); in TEST_F()
/external/icu/icu4c/source/data/locales/
Dgd.txt30 infinity{"∞"}
46 infinity{"∞"}
62 infinity{"∞"}
78 infinity{"∞"}
94 infinity{"∞"}
110 infinity{"∞"}
126 infinity{"∞"}
143 infinity{"∞"}
170 infinity{"∞"}
186 infinity{"∞"}
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/PBQP/
DHeuristicSolver.h505 const PBQPNum infinity = std::numeric_limits<PBQPNum>::infinity(); in tryNormaliseEdgeMatrix() local
512 PBQPNum rowMin = infinity; in tryNormaliseEdgeMatrix()
515 if (vCosts[c] != infinity && edgeCosts[r][c] < rowMin) in tryNormaliseEdgeMatrix()
521 if (rowMin != infinity) { in tryNormaliseEdgeMatrix()
530 PBQPNum colMin = infinity; in tryNormaliseEdgeMatrix()
533 if (uCosts[r] != infinity && edgeCosts[r][c] < colMin) in tryNormaliseEdgeMatrix()
539 if (colMin != infinity) { in tryNormaliseEdgeMatrix()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
DSecP256R1Curve.java19 protected SecP256R1Point infinity; field in SecP256R1Curve
25 this.infinity = new SecP256R1Point(this, null, null); in SecP256R1Curve()
80 return infinity; in getInfinity()
DSecP192R1Curve.java19 protected SecP192R1Point infinity; field in SecP192R1Curve
25 this.infinity = new SecP192R1Point(this, null, null); in SecP192R1Curve()
80 return infinity; in getInfinity()
DSecP256K1Curve.java20 protected SecP256K1Point infinity; field in SecP256K1Curve
26 this.infinity = new SecP256K1Point(this, null, null); in SecP256K1Curve()
78 return infinity; in getInfinity()
DSecP521R1Curve.java19 protected SecP521R1Point infinity; field in SecP521R1Curve
25 this.infinity = new SecP521R1Point(this, null, null); in SecP521R1Curve()
80 return infinity; in getInfinity()
DSecP192K1Curve.java20 protected SecP192K1Point infinity; field in SecP192K1Curve
26 this.infinity = new SecP192K1Point(this, null, null); in SecP192K1Curve()
79 return infinity; in getInfinity()

12345678910>>...21