Home
last modified time | relevance | path

Searched refs:INF (Results 1 - 20 of 20) sorted by relevance

/third_party/python/Modules/
H A Dcmathmodule.c200 #define INF Py_HUGE_VAL macro
445 r.real = INF; in cmath_atanh_impl()
502 r.real = copysign(INF, cos(z.imag)); in cmath_cosh_impl()
503 r.imag = copysign(INF, sin(z.imag)); in cmath_cosh_impl()
506 r.real = copysign(INF, cos(z.imag)); in cmath_cosh_impl()
507 r.imag = -copysign(INF, sin(z.imag)); in cmath_cosh_impl()
563 r.real = copysign(INF, cos(z.imag)); in cmath_exp_impl()
564 r.imag = copysign(INF, sin(z.imag)); in cmath_exp_impl()
654 r.real = -INF; in c_log()
740 r.real = copysign(INF, co in cmath_sinh_impl()
[all...]
/third_party/python/Lib/test/
H A 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, IN
[all...]
H A 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),
[all...]
H A Dtest_float.py23 INF = float("inf") variable
322 floats = (INF, -INF, 0.0, 1.0, NAN)
407 self.assertTrue(isnan(pow_op(-INF, NAN)))
415 self.assertTrue(isnan(pow_op(INF, NAN)))
419 self.assertTrue(isnan(pow_op(NAN, -INF)))
426 self.assertTrue(isnan(pow_op(NAN, INF)))
450 self.assertEqualAndEqualSign(pow_op(-1.0, -INF), 1.0)
451 self.assertEqualAndEqualSign(pow_op(-1.0, INF), 1.0)
454 self.assertEqualAndEqualSign(pow_op(1.0, -INF), 1.
[all...]
H A Dtest_complex.py11 INF = float("inf") variable
278 complex(-4.0, INF),
279 complex(INF, 0.0),
513 for x in 0.0, -0.0, INF, -INF, NAN:
514 for y in 0.0, -0.0, INF, -INF, NAN:
565 test(complex(1., INF), "(1+infj)")
566 test(complex(1., -INF), "(1-infj)")
567 test(complex(INF,
[all...]
H A Dtest_logging.py197 INF = logging.LoggerAdapter(logging.getLogger("INF"), {})
198 INF.setLevel(logging.INFO)
206 INF.log(logging.CRITICAL, m())
207 INF.error(m())
208 INF.warning(m())
209 INF.info(m())
222 INF.debug(m())
227 ('INF', 'CRITICAL', '3'),
228 ('INF', 'ERRO
[all...]
H A Dtest_statistics.py747 INF = float("INF")
752 for inf in (INF, -INF):
787 inf = Decimal('INF')
1000 for INF in (float('inf'), Decimal('inf')):
1001 for inf in (INF, -INF):
H A Dtest_unicode.py1525 INF = float('inf')
1528 self.assertEqual('%f' % INF, 'inf')
1529 self.assertEqual('%F' % INF, 'INF')
H A Ddatetimetester.py57 INF = float("inf") variable
821 self.assertRaises(OverflowError, day.__mul__, INF)
822 self.assertRaises(OverflowError, day.__mul__, -INF)
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DGPBJsonWire.php177 } elseif ($value === INF) {
179 } elseif ($value === -INF) {
189 } elseif ($value === INF) {
191 } elseif ($value === -INF) {
H A DMessage.php931 return INF;
934 return -INF;
1706 } elseif ($value === INF) {
1708 } elseif ($value === -INF) {
1717 } elseif ($value === INF) {
1719 } elseif ($value === -INF) {
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/
H A Druntests.py111 INF = namedtuple('INF', '')() variable
279 infinity (positive and negative), which return ZERO, INF, and NEG_INF
300 return INF
312 infinity (positive and negative), which return ZERO, INF, and NEG_INF
332 return INF
364 elif double is INF:
378 elif single is INF:
/third_party/python/Lib/test/test_json/
H A Dtest_enum.py25 INF = float('inf') variable
30 inf = INF
115 self.assertEqual(nd['i'], INF)
/third_party/backends/frontend/
H A Dtstbackend.c58 INF, /* non-urgent warning */ enumerator
109 if (level != MSG && level != INF) checks_done ++; in check()
122 case INF: /* info */ in check()
359 check(INF, (opt->cap == SANE_CAP_SOFT_DETECT), in test_options()
408 check(INF, (opt->name == NULL || *opt->name == 0), in test_options()
471 check(INF, (opt->unit == SANE_UNIT_NONE), in test_options()
482 check(INF, (opt->unit == SANE_UNIT_NONE), in test_options()
484 check(INF, (opt->size == 0), in test_options()
828 check(INF, (opt->constraint.range == NULL), in test_options()
1499 rc = check(INF, (scan_mode_op in test_scans()
[all...]
/third_party/ffmpeg/doc/
H A Dtexi2pod.pl83 INF: while(<$inf>) { label
114 open($inf, "<" . $_ . "/" . $1) and next INF;
134 last INF;
/third_party/jerryscript/tests/unit-libm/
H A Dtest-libm.c92 #define INF INFINITY in main() macro
/third_party/python/Lib/test/test_capi/
H A Dtest_getargs.py51 INF = float('inf') variable
450 for x in (FLT_MIN, -FLT_MIN, FLT_MAX, -FLT_MAX, INF, -INF):
453 self.assertEqual(getargs_f(DBL_MAX), INF)
454 self.assertEqual(getargs_f(-DBL_MAX), -INF)
484 for x in (DBL_MIN, -DBL_MIN, DBL_MAX, -DBL_MAX, INF, -INF):
508 for x in (DBL_MIN, -DBL_MIN, DBL_MAX, -DBL_MAX, INF, -INF):
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A Dregcomp.c990 # define INF 3 in repeat() macro
992 # define MAP(n) (((n) <= 1) ? (n) : ((n) == INFINITY) ? INF : N) in repeat()
1006 case REP(0, INF): /* as x{1,}? */ in repeat()
1031 case REP(1, INF): /* as x+ */ in repeat()
1039 case REP(N, INF): /* as xx{n-1,INF} */ in repeat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A Dregcomp.c1118 # define INF 3 in repeat() macro
1120 # define MAP(n) (((n) <= 1) ? (n) : ((n) == INFINITY) ? INF : N) in repeat()
1134 case REP(0, INF): /* as x{1,}? */ in repeat()
1159 case REP(1, INF): /* as x+ */ in repeat()
1167 case REP(N, INF): /* as xx{n-1,INF} */ in repeat()
/third_party/icu/vendor/double-conversion/upstream/test/cctest/
H A Dtest-conversions.cc5886 CHECK_EQ(1.0, converter.StringToDouble("INF", 3, &processed));

Completed in 41 milliseconds