Home
last modified time | relevance | path

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

1234

/external/valgrind/none/tests/amd64/
Dfma4.stdout.exp18 r2: [ NAN ].[ NAN ].[ -INF ].[ INF ]
20 r4: [ -INF ].[ INF ].bff0000000000000.3ff0000000000000
24 r2: [ NAN ].[ NAN ].[ -INF ].[ INF ]
26 r4: [ ZERO ].[ ZERO ].[ INF ].[ INF ]
60 r2: [ NAN ].[ NAN ].[ -INF ].[ INF ]
62 r4: [ -INF ].[ INF ].bff0000000000000.3ff0000000000000
66 r2: [ NAN ].[ NAN ].[ -INF ].[ INF ]
68 r4: [ ZERO ].[ ZERO ].[ INF ].[ INF ]
102 r2: [ NAN ].[ NAN ].[ -INF ].[ INF ]
104 r4: [ -INF ].[ INF ].bff0000000000000.3ff0000000000000
[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/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/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
466 self.assertEqual(repr(complex(1., INF)), "(1+infj)")
467 self.assertEqual(repr(complex(1., -INF)), "(1-infj)")
468 self.assertEqual(repr(complex(INF, 1)), "(inf+1j)")
469 self.assertEqual(repr(complex(-INF, INF)), "(-inf+infj)")
474 self.assertEqual(repr(complex(0, INF)), "infj")
475 self.assertEqual(repr(complex(0, -INF)), "-infj")
502 self.assertEqual(complex(0, INF).__getnewargs__(), (0.0, INF))
503 self.assertEqual(complex(INF, 0).__getnewargs__(), (INF, 0.0))
515 self.assertEqual(complex("1e500"), complex(INF, 0.0))
[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
251 floats = (INF, -INF, 0.0, 1.0, NAN)
308 self.assertTrue(isnan(pow_op(-INF, NAN)))
316 self.assertTrue(isnan(pow_op(INF, NAN)))
320 self.assertTrue(isnan(pow_op(NAN, -INF)))
327 self.assertTrue(isnan(pow_op(NAN, INF)))
351 self.assertEqualAndEqualSign(pow_op(-1.0, -INF), 1.0)
352 self.assertEqualAndEqualSign(pow_op(-1.0, INF), 1.0)
355 self.assertEqualAndEqualSign(pow_op(1.0, -INF), 1.0)
364 self.assertEqualAndEqualSign(pow_op(1.0, INF), 1.0)
[all …]
Dtest_complex.py10 INF = float("inf") variable
394 for x in 0.0, -0.0, INF, -INF, NAN:
395 for y in 0.0, -0.0, INF, -INF, NAN:
446 test(complex(1., INF), "(1+infj)")
447 test(complex(1., -INF), "(1-infj)")
448 test(complex(INF, 1), "(inf+1j)")
449 test(complex(-INF, INF), "(-inf+infj)")
454 test(complex(0, INF), "infj")
455 test(complex(0, -INF), "-infj")
503 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/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/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/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/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_SparseDenseCwiseMul.pbtxt38 contents of the dense tensor (even if it's +/-INF and that INF*0 == NaN).
/external/python/cpython3/Lib/test/test_json/
Dtest_enum.py25 INF = float('inf') variable
30 inf = INF
115 self.assertEqual(nd['i'], INF)
/external/conscrypt/benchmark-android/
Dbuild.gradle85 exclude "META-INF/*.RSA", "META-INF/*.SF", "META-INF/*.DSA"
/external/conscrypt/openjdk-uber/
Dbuild.gradle36 include '/META-INF/native/**'
50 exclude '/META-INF/**'
/external/apache-commons-math/src/main/java/org/apache/commons/math/complex/
DComplex.java59 … public static final Complex INF = new Complex(Double.POSITIVE_INFINITY, Double.POSITIVE_INFINITY); field in Complex
364 return INF; in multiply()
403 return INF; in multiply()
958 result.add(Complex.INF); in nthRoot()
/external/proguard/examples/
Dproguardgui.pro14 -injars ../lib/proguard.jar(!META-INF/**,!proguard/ant/**,!proguard/gradle/**,!proguard/wtk/**)
15 -injars ../lib/retrace.jar (!META-INF/**)

1234