Home
last modified time | relevance | path

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

12345

/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 …]
Dformatfloat_testcases.txt89 %F infinity -> INF
90 %F -inf -> -INF
218 %E infinity -> INF
219 %E -inf -> -INF
338 %G infinity -> INF
339 %G -inf -> -INF
Dtest_logging.py150 INF = logging.getLogger("INF")
151 INF.setLevel(logging.INFO)
159 INF.log(logging.CRITICAL, m())
160 INF.error(m())
161 INF.warn(m())
162 INF.info(m())
175 INF.debug(m())
195 INF = logging.getLogger("INF")
196 INF.setLevel(logging.INFO)
218 INF = logging.getLogger("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.py16 INF = float('inf') variable
273 self.assertRaises(ValueError, math.acos, INF)
285 self.assertEqual(math.acosh(INF), INF)
294 self.assertRaises(ValueError, math.asin, INF)
305 self.assertEqual(math.asinh(INF), INF)
314 self.ftest('atan(inf)', math.atan(INF), math.pi/2)
325 self.assertRaises(ValueError, math.atanh, INF)
343 self.assertEqual(math.atan2(0., INF), 0.)
351 self.assertEqual(math.atan2(-0., INF), -0.)
354 self.ftest('atan2(inf, -inf)', math.atan2(INF, NINF), math.pi*3/4)
[all …]
Dtest_float.py15 INF = float("inf") variable
270 floats = (INF, -INF, 0.0, 1.0, NAN)
327 self.assertTrue(isnan(pow_op(-INF, NAN)))
335 self.assertTrue(isnan(pow_op(INF, NAN)))
339 self.assertTrue(isnan(pow_op(NAN, -INF)))
346 self.assertTrue(isnan(pow_op(NAN, INF)))
370 self.assertEqualAndEqualSign(pow_op(-1.0, -INF), 1.0)
371 self.assertEqualAndEqualSign(pow_op(-1.0, INF), 1.0)
374 self.assertEqualAndEqualSign(pow_op(1.0, -INF), 1.0)
383 self.assertEqualAndEqualSign(pow_op(1.0, INF), 1.0)
[all …]
Dtest_complex.py10 INF = float("inf") variable
398 for x in 0.0, -0.0, INF, -INF, NAN:
399 for y in 0.0, -0.0, INF, -INF, NAN:
450 test(complex(1., INF), "(1+infj)")
451 test(complex(1., -INF), "(1-infj)")
452 test(complex(INF, 1), "(inf+1j)")
453 test(complex(-INF, INF), "(-inf+infj)")
458 test(complex(0, INF), "infj")
459 test(complex(0, -INF), "-infj")
507 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/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;
Dnumeral.frag104 float inf1 = -1.#INF;
105 float inf2 = 1.#INF;
106 float inf3 = +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/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/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/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/icu/tools/srcgen/currysrc/
DAndroid.bp31 // Remove signature files found in META-INF/ that cause the combined jar to be rejected.
34 "META-INF/ECLIPSE_.SF",
35 "META-INF/ECLIPSE_.RSA",
/external/desugar/test/java/com/google/devtools/build/android/desugar/
Dtestdata_desugared_core_library_jar_toc_golden.txt1 META-INF/
2 META-INF/MANIFEST.MF
/external/libphonenumber/demo/war/WEB-INF/
Dlogging.properties4 # To use this configuration, copy it into your application's WEB-INF
8 # <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
/external/conscrypt/benchmark-android/
Dbuild.gradle113 exclude 'META-INF/*.SF'
114 exclude 'META-INF/*.DSA'
115 exclude 'META-INF/*.EC'
116 exclude 'META-INF/*.RSA'

12345