Home
last modified time | relevance | path

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

12345678910>>...46

/external/cronet/buildtools/third_party/libc++/trunk/test/std/numerics/complex.number/
Dcases.h63 …std::complex<double>(-std::numeric_limits<double>::infinity(), std::numeric_limits<double>::quiet_…
72 …std::complex<double>(std::numeric_limits<double>::infinity(), std::numeric_limits<double>::quiet_N…
74 …omplex<double>(std::numeric_limits<double>::quiet_NaN(), -std::numeric_limits<double>::infinity()),
75 …std::complex<double>(-std::numeric_limits<double>::infinity(), -std::numeric_limits<double>::infin…
76 std::complex<double>(-2, -std::numeric_limits<double>::infinity()),
77 std::complex<double>(-1, -std::numeric_limits<double>::infinity()),
78 std::complex<double>(-0.5, -std::numeric_limits<double>::infinity()),
79 std::complex<double>(-0., -std::numeric_limits<double>::infinity()),
80 std::complex<double>(+0., -std::numeric_limits<double>::infinity()),
81 std::complex<double>(0.5, -std::numeric_limits<double>::infinity()),
[all …]
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/format/format.functions/
Dformat_tests.h933 check(SV("answer is '***inf'"), SV("answer is '{:*>6a}'"), std::numeric_limits<F>::infinity()); in format_test_floating_point_hex_lower_case()
934 check(SV("answer is 'inf***'"), SV("answer is '{:*<6a}'"), std::numeric_limits<F>::infinity()); in format_test_floating_point_hex_lower_case()
935 check(SV("answer is '*inf**'"), SV("answer is '{:*^6a}'"), std::numeric_limits<F>::infinity()); in format_test_floating_point_hex_lower_case()
937 check(SV("answer is '###-inf'"), SV("answer is '{:#>7a}'"), -std::numeric_limits<F>::infinity()); in format_test_floating_point_hex_lower_case()
938 check(SV("answer is '-inf###'"), SV("answer is '{:#<7a}'"), -std::numeric_limits<F>::infinity()); in format_test_floating_point_hex_lower_case()
939 check(SV("answer is '#-inf##'"), SV("answer is '{:#^7a}'"), -std::numeric_limits<F>::infinity()); in format_test_floating_point_hex_lower_case()
966 check(SV("answer is 'inf'"), SV("answer is '{:a}'"), std::numeric_limits<F>::infinity()); in format_test_floating_point_hex_lower_case()
967 check(SV("answer is 'inf'"), SV("answer is '{:-a}'"), std::numeric_limits<F>::infinity()); in format_test_floating_point_hex_lower_case()
968 check(SV("answer is '+inf'"), SV("answer is '{:+a}'"), std::numeric_limits<F>::infinity()); in format_test_floating_point_hex_lower_case()
969 check(SV("answer is ' inf'"), SV("answer is '{: a}'"), std::numeric_limits<F>::infinity()); in format_test_floating_point_hex_lower_case()
[all …]
/external/libchrome/ui/gfx/geometry/
Dsafe_integer_conversions_unittest.cc16 float infinity = std::numeric_limits<float>::infinity(); in TEST() local
21 EXPECT_EQ(int_max, ToFlooredInt(infinity)); in TEST()
29 EXPECT_EQ(int_min, ToFlooredInt(-infinity)); in TEST()
37 float infinity = std::numeric_limits<float>::infinity(); in TEST() local
42 EXPECT_EQ(int_max, ToCeiledInt(infinity)); in TEST()
50 EXPECT_EQ(int_min, ToCeiledInt(-infinity)); in TEST()
58 float infinity = std::numeric_limits<float>::infinity(); in TEST() local
63 EXPECT_EQ(int_max, ToRoundedInt(infinity)); in TEST()
75 EXPECT_EQ(int_min, ToRoundedInt(-infinity)); in TEST()
/external/tensorflow/tensorflow/core/kernels/
Ddebug_ops_test.cc208 {1.1, 2.2, 3.3, std::numeric_limits<float>::infinity(), 5.5, 6.6}); in TEST_F()
233 {1.1, 2.2, 3.3, std::numeric_limits<double>::infinity(), 5.5, 6.6}); in TEST_F()
273 3.0f, 7.0f, -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()
279 std::numeric_limits<float>::infinity(), in TEST_F()
312 7.0, -std::numeric_limits<double>::infinity(), in TEST_F()
[all …]
/external/flatbuffers/tests/
Dmonster_extra_generated.h31 double d2 = std::numeric_limits<double>::infinity();
32 double d3 = -std::numeric_limits<double>::infinity();
35 float f2 = std::numeric_limits<float>::infinity();
36 float f3 = -std::numeric_limits<float>::infinity();
72 return GetField<double>(VT_D2, std::numeric_limits<double>::infinity()); in d2()
74 bool mutate_d2(double _d2 = std::numeric_limits<double>::infinity()) {
75 return SetField<double>(VT_D2, _d2, std::numeric_limits<double>::infinity());
78 return GetField<double>(VT_D3, -std::numeric_limits<double>::infinity()); in d3()
80 bool mutate_d3(double _d3 = -std::numeric_limits<double>::infinity()) {
81 return SetField<double>(VT_D3, _d3, -std::numeric_limits<double>::infinity());
[all …]
/external/XNNPACK/test/
Dsubgraph-tester.h177 -std::numeric_limits<float>::infinity(), in AddConvolution2D()
178 std::numeric_limits<float>::infinity(), input_id, filter_id, bias_id, in AddConvolution2D()
193 -std::numeric_limits<float>::infinity(), in AddDepthwiseConvolution2D()
194 std::numeric_limits<float>::infinity(), input_id, filter_id, bias_id, in AddDepthwiseConvolution2D()
203 xnn_define_add2(subgraph_.get(), -std::numeric_limits<float>::infinity(), in AddAddition()
204 std::numeric_limits<float>::infinity(), input_id1, in AddAddition()
219 stride_height, stride_width, -std::numeric_limits<float>::infinity(), in AddAveragePooling2D()
220 std::numeric_limits<float>::infinity(), input_id, output_id, in AddAveragePooling2D()
251 -std::numeric_limits<float>::infinity(), in AddDeconvolution2D()
252 std::numeric_limits<float>::infinity(), input_id, filter_id, bias_id, in AddDeconvolution2D()
[all …]
/external/XNNPACK/models/
Dfp16-mobilenet-v3-large.cc536 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV3Large()
572 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP16MobileNetV3Large()
595 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV3Large()
607 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV3Large()
629 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP16MobileNetV3Large()
652 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP16MobileNetV3Large()
675 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV3Large()
698 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP16MobileNetV3Large()
721 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP16MobileNetV3Large()
744 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV3Large()
[all …]
Dfp32-mobilenet-v3-large.cc533 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV3Large()
569 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32MobileNetV3Large()
592 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV3Large()
604 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV3Large()
626 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32MobileNetV3Large()
649 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32MobileNetV3Large()
672 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV3Large()
695 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32MobileNetV3Large()
718 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32MobileNetV3Large()
741 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV3Large()
[all …]
Dfp32-mobilenet-v3-small.cc465 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV3Small()
501 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32MobileNetV3Small()
514 -std::numeric_limits<float>::infinity(), std::numeric_limits<float>::infinity(), in FP32MobileNetV3Small()
536 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32MobileNetV3Small()
571 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV3Small()
593 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV3Small()
616 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32MobileNetV3Small()
639 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32MobileNetV3Small()
662 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV3Small()
685 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32MobileNetV3Small()
[all …]
Dfp16-mobilenet-v3-small.cc468 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV3Small()
504 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP16MobileNetV3Small()
517 -std::numeric_limits<float>::infinity(), std::numeric_limits<float>::infinity(), in FP16MobileNetV3Small()
539 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP16MobileNetV3Small()
574 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV3Small()
596 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV3Small()
619 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP16MobileNetV3Small()
642 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP16MobileNetV3Small()
665 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV3Small()
688 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP16MobileNetV3Small()
[all …]
Dfp32-sparse-mobilenet-v3-large.cc625 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32SparseMobileNetV3Large()
661 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32SparseMobileNetV3Large()
684 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32SparseMobileNetV3Large()
696 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32SparseMobileNetV3Large()
718 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32SparseMobileNetV3Large()
741 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32SparseMobileNetV3Large()
764 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32SparseMobileNetV3Large()
787 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32SparseMobileNetV3Large()
810 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32SparseMobileNetV3Large()
833 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32SparseMobileNetV3Large()
[all …]
Dfp32-sparse-mobilenet-v3-small.cc547 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32SparseMobileNetV3Small()
583 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32SparseMobileNetV3Small()
596 -std::numeric_limits<float>::infinity(), std::numeric_limits<float>::infinity(), in FP32SparseMobileNetV3Small()
618 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32SparseMobileNetV3Small()
653 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32SparseMobileNetV3Small()
675 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32SparseMobileNetV3Small()
698 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32SparseMobileNetV3Small()
721 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32SparseMobileNetV3Small()
744 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32SparseMobileNetV3Small()
767 0.0f /* output min */, std::numeric_limits<float>::infinity() /* output max */, in FP32SparseMobileNetV3Small()
[all …]
Dfp16-mobilenet-v2.cc440 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV2()
509 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV2()
578 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV2()
590 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV2()
658 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV2()
727 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV2()
739 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV2()
807 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV2()
819 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV2()
887 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP16MobileNetV2()
[all …]
Dfp32-mobilenet-v2.cc440 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV2()
509 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV2()
578 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV2()
590 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV2()
658 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV2()
727 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV2()
739 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV2()
807 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV2()
819 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV2()
887 …-std::numeric_limits<float>::infinity() /* output min */, std::numeric_limits<float>::infinity() /… in FP32MobileNetV2()
[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/framework/
Dtensor_testutil_test.cc29 EXPECT_TRUE(IsClose(Eigen::NumTraits<T>::infinity(), in TestEdgeCasesNear()
30 Eigen::NumTraits<T>::infinity(), 0.0, 0.0)); in TestEdgeCasesNear()
33 Eigen::NumTraits<double>::infinity(), 0.0)); in TestEdgeCasesNear()
41 Eigen::NumTraits<double>::infinity(), 0.0)); in TestEdgeCasesNear()
44 Eigen::NumTraits<double>::infinity(), 0.0)); in TestEdgeCasesNear()
203 EXPECT_TRUE(IsClose(Eigen::NumTraits<T>::infinity(), in TestEdgeCasesClose()
204 Eigen::NumTraits<T>::infinity(), 0.0, 0.0)); in TestEdgeCasesClose()
207 Eigen::NumTraits<double>::infinity(), in TestEdgeCasesClose()
208 Eigen::NumTraits<double>::infinity())); in TestEdgeCasesClose()
217 Eigen::NumTraits<double>::infinity(), 0.0)); in TestEdgeCasesClose()
[all …]
/external/webrtc/rtc_base/numerics/
Devent_based_exponential_moving_average_unittest.cc30 EXPECT_EQ(std::numeric_limits<double>::infinity(), average.GetVariance()); in TEST()
31 EXPECT_EQ(std::numeric_limits<double>::infinity(), in TEST()
42 EXPECT_EQ(std::numeric_limits<double>::infinity(), average.GetVariance()); in TEST()
43 EXPECT_EQ(std::numeric_limits<double>::infinity(), in TEST()
174 EXPECT_EQ(std::numeric_limits<double>::infinity(), average.GetVariance()); in TEST()
175 EXPECT_EQ(std::numeric_limits<double>::infinity(), in TEST()
185 EXPECT_EQ(std::numeric_limits<double>::infinity(), average.GetVariance()); in TEST()
186 EXPECT_EQ(std::numeric_limits<double>::infinity(), in TEST()
203 EXPECT_EQ(std::numeric_limits<double>::infinity(), average.GetVariance()); in TEST()
204 EXPECT_EQ(std::numeric_limits<double>::infinity(), in TEST()
/external/angle/src/tests/compiler_tests/
DConstantFolding_test.cpp889 ASSERT_TRUE(constantFoundInAST(std::numeric_limits<float>::infinity())); in TEST_F()
899 ASSERT_TRUE(constantFoundInAST(std::numeric_limits<float>::infinity())); in TEST_F()
908 ASSERT_TRUE(constantFoundInAST(std::numeric_limits<float>::infinity())); in TEST_F()
917 ASSERT_TRUE(constantFoundInAST(-std::numeric_limits<float>::infinity())); in TEST_F()
926 ASSERT_TRUE(constantFoundInAST(std::numeric_limits<float>::infinity())); in TEST_F()
935 ASSERT_TRUE(constantFoundInAST(std::numeric_limits<float>::infinity())); in TEST_F()
944 ASSERT_TRUE(constantFoundInAST(std::numeric_limits<float>::infinity())); in TEST_F()
953 ASSERT_TRUE(constantFoundInAST(-std::numeric_limits<float>::infinity())); in TEST_F()
962 ASSERT_TRUE(constantFoundInAST(std::numeric_limits<float>::infinity())); in TEST_F()
980 ASSERT_TRUE(constantFoundInAST(std::numeric_limits<float>::infinity())); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/platform/
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 …]
/external/cronet/base/allocator/partition_allocator/partition_alloc_base/time/
Dtime.cc57 return (delta_ < 0) ? -std::numeric_limits<double>::infinity() in InMillisecondsF()
58 : std::numeric_limits<double>::infinity(); in InMillisecondsF()
81 return (delta_ < 0) ? -std::numeric_limits<double>::infinity() in InMicrosecondsF()
82 : std::numeric_limits<double>::infinity(); in InMicrosecondsF()
151 return (us_ < 0) ? -std::numeric_limits<double>::infinity() in ToDoubleT()
152 : std::numeric_limits<double>::infinity(); in ToDoubleT()
179 return (us_ < 0) ? -std::numeric_limits<double>::infinity() in ToJsTimeIgnoringNull()
180 : std::numeric_limits<double>::infinity(); in ToJsTimeIgnoringNull()
/external/cronet/buildtools/third_party/libc++/trunk/test/std/language.support/support.limits/limits/numeric.limits.members/
Dinfinity.pass.cpp23 assert(std::numeric_limits<T>::infinity() == expected); in test()
24 assert(std::numeric_limits<const T>::infinity() == expected); in test()
25 assert(std::numeric_limits<volatile T>::infinity() == expected); in test()
26 assert(std::numeric_limits<const volatile T>::infinity() == expected); in test()
/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/ComputeLibrary/src/core/NEON/kernels/convolution/common/
Dutils.hpp46 ? -std::numeric_limits<T>::infinity() in lower()
49 ? std::numeric_limits<T>::infinity() in upper()
57 static constexpr __fp16 lower() noexcept { return -std::numeric_limits<float>::infinity(); }; in lower()
58 static constexpr __fp16 upper() noexcept { return std::numeric_limits<float>::infinity(); } in upper()
/external/angle/src/common/
Dmathutil_unittest.cpp44 unpackSnorm2x16(packSnorm2x16(std::numeric_limits<float>::infinity(), in TEST()
45 std::numeric_limits<float>::infinity()), in TEST()
50 unpackSnorm2x16(packSnorm2x16(std::numeric_limits<float>::infinity(), in TEST()
51 -std::numeric_limits<float>::infinity()), in TEST()
56 unpackSnorm2x16(packSnorm2x16(-std::numeric_limits<float>::infinity(), in TEST()
57 -std::numeric_limits<float>::infinity()), in TEST()
90 unpackUnorm2x16(packUnorm2x16(std::numeric_limits<float>::infinity(), in TEST()
91 std::numeric_limits<float>::infinity()), in TEST()
96 unpackUnorm2x16(packUnorm2x16(std::numeric_limits<float>::infinity(), in TEST()
97 -std::numeric_limits<float>::infinity()), in TEST()
[all …]
/external/compiler-rt/lib/builtins/
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

12345678910>>...46