Home
last modified time | relevance | path

Searched refs:INF (Results 1 – 25 of 166) sorted by relevance

1234567

/external/python/cpython2/Modules/
Dcmathmodule.c111 #define INF Py_HUGE_VAL macro
337 r.real = INF; in c_atanh()
390 r.real = copysign(INF, cos(z.imag)); in c_cosh()
391 r.imag = copysign(INF, sin(z.imag)); in c_cosh()
394 r.real = copysign(INF, cos(z.imag)); in c_cosh()
395 r.imag = -copysign(INF, sin(z.imag)); in c_cosh()
449 r.real = copysign(INF, cos(z.imag)); in c_exp()
450 r.imag = copysign(INF, sin(z.imag)); in c_exp()
546 r.real = -INF; in c_log()
621 r.real = copysign(INF, cos(z.imag)); in c_sinh()
[all …]
/external/python/cpython3/Modules/
Dcmathmodule.c193 #define INF Py_HUGE_VAL macro
438 r.real = INF; in cmath_atanh_impl()
495 r.real = copysign(INF, cos(z.imag)); in cmath_cosh_impl()
496 r.imag = copysign(INF, sin(z.imag)); in cmath_cosh_impl()
499 r.real = copysign(INF, cos(z.imag)); in cmath_cosh_impl()
500 r.imag = -copysign(INF, sin(z.imag)); in cmath_cosh_impl()
556 r.real = copysign(INF, cos(z.imag)); in cmath_exp_impl()
557 r.imag = copysign(INF, sin(z.imag)); in cmath_exp_impl()
647 r.real = -INF; in c_log()
733 r.real = copysign(INF, cos(z.imag)); in cmath_sinh_impl()
[all …]
/external/python/cpython2/Lib/test/
Dtest_cmath.py7 INF = float('inf') variable
12 (INF, 0.0), # 1st quadrant
13 (INF, 2.3),
14 (INF, INF),
15 (2.3, INF),
16 (0.0, INF),
17 (-0.0, INF), # 2nd quadrant
18 (-2.3, INF),
19 (-INF, INF),
20 (-INF, 2.3),
[all …]
Dtest_math.py14 INF = float('inf') variable
151 self.assertRaises(ValueError, math.acos, INF)
161 self.assertEqual(math.acosh(INF), INF)
170 self.assertRaises(ValueError, math.asin, INF)
179 self.assertEqual(math.asinh(INF), INF)
188 self.ftest('atan(inf)', math.atan(INF), math.pi/2)
199 self.assertRaises(ValueError, math.atanh, INF)
217 self.assertEqual(math.atan2(0., INF), 0.)
225 self.assertEqual(math.atan2(-0., INF), -0.)
228 self.ftest('atan2(inf, -inf)', math.atan2(INF, NINF), math.pi*3/4)
[all …]
Dieee754.txt25 >>> INF = float('inf')
29 >>> INF
36 The math module's ``isnan`` and ``isinf`` functions can be used to detect INF
38 >>> isinf(INF), isinf(NINF), isnan(NAN)
40 >>> INF == -NINF
47 >>> INF * 0
49 >>> INF - INF
51 >>> INF / INF
55 >>> INF * INF
57 >>> 1.5 * INF
[all …]
Dtest_float.py13 INF = float("inf") variable
293 self.assertTrue(isnan(pow_op(-INF, NAN)))
301 self.assertTrue(isnan(pow_op(INF, NAN)))
305 self.assertTrue(isnan(pow_op(NAN, -INF)))
312 self.assertTrue(isnan(pow_op(NAN, INF)))
336 self.assertEqualAndEqualSign(pow_op(-1.0, -INF), 1.0)
337 self.assertEqualAndEqualSign(pow_op(-1.0, INF), 1.0)
340 self.assertEqualAndEqualSign(pow_op(1.0, -INF), 1.0)
349 self.assertEqualAndEqualSign(pow_op(1.0, INF), 1.0)
353 self.assertEqualAndEqualSign(pow_op(-INF, 0.0), 1.0)
[all …]
Dtest_complex.py7 INF = float("inf") variable
455 for x in 0.0, -0.0, INF, -INF, NAN:
456 for y in 0.0, -0.0, INF, -INF, NAN:
495 self.assertEqual(repr(complex(1., INF)), "(1+infj)")
496 self.assertEqual(repr(complex(1., -INF)), "(1-infj)")
497 self.assertEqual(repr(complex(INF, 1)), "(inf+1j)")
498 self.assertEqual(repr(complex(-INF, INF)), "(-inf+infj)")
503 self.assertEqual(repr(complex(0, INF)), "infj")
504 self.assertEqual(repr(complex(0, -INF)), "-infj")
531 self.assertEqual(complex(0, INF).__getnewargs__(), (0.0, INF))
[all …]
/external/python/cpython3/Lib/test/
Dtest_cmath.py11 INF = float('inf') variable
16 (INF, 0.0), # 1st quadrant
17 (INF, 2.3),
18 (INF, INF),
19 (2.3, INF),
20 (0.0, INF),
21 (-0.0, INF), # 2nd quadrant
22 (-2.3, INF),
23 (-INF, INF),
24 (-INF, 2.3),
[all …]
Dieee754.txt25 >>> INF = float('inf')
29 >>> INF
36 The math module's ``isnan`` and ``isinf`` functions can be used to detect INF
38 >>> isinf(INF), isinf(NINF), isnan(NAN)
40 >>> INF == -NINF
47 >>> INF * 0
49 >>> INF - INF
51 >>> INF / INF
55 >>> INF * INF
57 >>> 1.5 * INF
[all …]
Dtest_math.py19 INF = float('inf') variable
263 self.assertRaises(ValueError, math.acos, INF)
275 self.assertEqual(math.acosh(INF), INF)
284 self.assertRaises(ValueError, math.asin, INF)
295 self.assertEqual(math.asinh(INF), INF)
304 self.ftest('atan(inf)', math.atan(INF), math.pi/2)
315 self.assertRaises(ValueError, math.atanh, INF)
333 self.assertEqual(math.atan2(0., INF), 0.)
341 self.assertEqual(math.atan2(-0., INF), -0.)
344 self.ftest('atan2(inf, -inf)', math.atan2(INF, NINF), math.pi*3/4)
[all …]
Dtest_float.py15 INF = float("inf") variable
285 floats = (INF, -INF, 0.0, 1.0, NAN)
370 self.assertTrue(isnan(pow_op(-INF, NAN)))
378 self.assertTrue(isnan(pow_op(INF, NAN)))
382 self.assertTrue(isnan(pow_op(NAN, -INF)))
389 self.assertTrue(isnan(pow_op(NAN, INF)))
413 self.assertEqualAndEqualSign(pow_op(-1.0, -INF), 1.0)
414 self.assertEqualAndEqualSign(pow_op(-1.0, INF), 1.0)
417 self.assertEqualAndEqualSign(pow_op(1.0, -INF), 1.0)
426 self.assertEqualAndEqualSign(pow_op(1.0, INF), 1.0)
[all …]
Dtest_complex.py10 INF = float("inf") variable
415 for x in 0.0, -0.0, INF, -INF, NAN:
416 for y in 0.0, -0.0, INF, -INF, NAN:
467 test(complex(1., INF), "(1+infj)")
468 test(complex(1., -INF), "(1-infj)")
469 test(complex(INF, 1), "(inf+1j)")
470 test(complex(-INF, INF), "(-inf+infj)")
475 test(complex(0, INF), "infj")
476 test(complex(0, -INF), "-infj")
524 self.assertEqual(complex(0, INF).__getnewargs__(), (0.0, INF))
[all …]
/external/libese/libese-teq1/tests/
Dteq1_unittests.cpp72 rx_frame_.INF[0] = 'A'; in TEST_F()
73 rx_frame_.INF[1] = 'B'; in TEST_F()
74 rx_frame_.INF[2] = teq1_compute_LRC(&rx_frame_); in TEST_F()
76 rx_frame_.INF[2] = teq1_compute_LRC(&rx_frame_) - 1; in TEST_F()
142 memcpy(rx_frame_.INF, tx_data_.data(), INF_LEN); in SetUp()
143 rx_frame_.INF[INF_LEN] = teq1_compute_LRC(&rx_frame_); in SetUp()
169 rx_frame_.INF[0] = teq1_compute_LRC(&rx_frame_); in TEST_F()
184 rx_frame_.INF[INF_LEN] = teq1_compute_LRC(&rx_frame_); in TEST_F()
202 rx_frame_.INF[0] = 2; /* Wait x 2 */ in TEST_F()
203 rx_frame_.INF[1] = teq1_compute_LRC(&rx_frame_); in TEST_F()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/
Dhlsl.inf.vert3 float f1 = -1.#INF;
4 float f2 = 1.#INF;
5 float f3 = +1.#INF;
6 float f4 = f2 * 1.#INF + 1.#INF;
7 const float f5 = -1.#INF;
/external/deqp-deps/glslang/Test/
Dhlsl.inf.vert3 float f1 = -1.#INF;
4 float f2 = 1.#INF;
5 float f3 = +1.#INF;
6 float f4 = f2 * 1.#INF + 1.#INF;
7 const float f5 = -1.#INF;
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.inf.vert.out11 0:3 -1.#INF
16 0:4 +1.#INF
21 0:5 +1.#INF
29 0:6 +1.#INF
31 0:6 +1.#INF
44 0:10 -1.#INF
69 0:3 -1.#INF
74 0:4 +1.#INF
79 0:5 +1.#INF
87 0:6 +1.#INF
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dhlsl.inf.vert.out11 0:3 -1.#INF
16 0:4 +1.#INF
21 0:5 +1.#INF
29 0:6 +1.#INF
31 0:6 +1.#INF
44 0:10 -1.#INF
69 0:3 -1.#INF
74 0:4 +1.#INF
79 0:5 +1.#INF
87 0:6 +1.#INF
[all …]
/external/kotlinc/
DAndroid.bp60 // exclude_dirs is used to remove META-INF resources for java multi-release
68 exclude_dirs: ["META-INF/versions"],
77 exclude_dirs: ["META-INF/versions"],
86 exclude_dirs: ["META-INF/versions"],
95 exclude_dirs: ["META-INF/versions"],
107 exclude_dirs: ["META-INF/versions"],
/external/fonttools/Tests/misc/
Dpy23_test.py255 INF = float('inf') variable
324 self.assertIsClose(INF, INF)
325 self.assertIsClose(INF, INF, abs_tol=0.0)
335 (INF, NAN),
336 (NAN, INF),
337 (INF, NINF),
338 (INF, 1.0),
339 (1.0, INF),
340 (INF, 1e308),
341 (1e308, INF)]
/external/dagger2/util/
Dinstall-local-snapshot.sh27 META-INF/com.google.dagger_$artifact_id.version \
34 META-INF/com.google.dagger_$artifact_id.version \
37 local content=$(cat $temp_dir/META-INF/com.google.dagger_${artifact_id}.version)
/external/libese/libese-teq1/
Dteq1.c106 frame->INF[frame->header.LEN] = teq1_compute_LRC(frame); in teq1_transmit()
162 ese->ops->hw_receive(ese, (uint8_t *)(&(frame->INF[0])), in teq1_receive()
164 teq1_dump_receive((uint8_t *)(&(frame->INF[0])), frame->header.LEN + 1); in teq1_receive()
194 state->app_data.tx_offset, len, frame->INF); in teq1_fill_info_block()
233 state->app_data.rx_offset, len, frame->INF); in teq1_get_app_data()
260 if (rx_frame->INF[rx_frame->header.LEN] != lrc) { in teq1_frame_error_check()
261 ALOGE("Invalid LRC %x instead of %x", rx_frame->INF[rx_frame->header.LEN], in teq1_frame_error_check()
387 next_tx->INF[0] = rx_frame->INF[0]; in teq1_rules()
388 state->wait_mult = rx_frame->INF[0]; in teq1_rules()
406 next_tx->INF[0] = rx_frame->INF[0]; in teq1_rules()
[all …]
/external/llvm-project/llvm/unittests/tools/llvm-exegesis/
DRegisterValueTest.cpp29 CHECK("7C00", INF); in TEST()
45 CHECK("7F800000", INF); in TEST()
61 CHECK("7FF0000000000000", INF); in TEST()
/external/okio/okio/jvm/jmh/
Dbuild.gradle11 excludeAllBenchmarkLists.resource = "META-INF/BenchmarkList"
15 includeCorrectBenchmarkList.resource = "META-INF/BenchmarkList"
16 …includeCorrectBenchmarkList.file = new File("${project.buildDir}/jmh-generated-resources/META-INF/…
/external/grpc-grpc-java/netty/shaded/
Dbuild.gradle44 relocate 'META-INF/native/libnetty', 'META-INF/native/libio_grpc_netty_shaded_netty'
45 relocate 'META-INF/native/netty', 'META-INF/native/io_grpc_netty_shaded_netty'
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/resources/META-INF/com.android.tools/proguard/
Dcoroutines.pro2 # - META-INF/com.android.tools/r8-upto-1.6.0/coroutines.pro
3 # - META-INF/proguard/coroutines.pro

1234567