Home
last modified time | relevance | path

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

12345

/third_party/python/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 …]
/third_party/python/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
288 floats = (INF, -INF, 0.0, 1.0, NAN)
373 self.assertTrue(isnan(pow_op(-INF, NAN)))
381 self.assertTrue(isnan(pow_op(INF, NAN)))
385 self.assertTrue(isnan(pow_op(NAN, -INF)))
392 self.assertTrue(isnan(pow_op(NAN, INF)))
416 self.assertEqualAndEqualSign(pow_op(-1.0, -INF), 1.0)
417 self.assertEqualAndEqualSign(pow_op(-1.0, INF), 1.0)
420 self.assertEqualAndEqualSign(pow_op(1.0, -INF), 1.0)
429 self.assertEqualAndEqualSign(pow_op(1.0, INF), 1.0)
[all …]
Dtest_complex.py11 INF = float("inf") variable
278 complex(-4.0, INF),
279 complex(INF, 0.0),
506 for x in 0.0, -0.0, INF, -INF, NAN:
507 for y in 0.0, -0.0, INF, -INF, NAN:
558 test(complex(1., INF), "(1+infj)")
559 test(complex(1., -INF), "(1-infj)")
560 test(complex(INF, 1), "(inf+1j)")
561 test(complex(-INF, INF), "(-inf+infj)")
566 test(complex(0, INF), "infj")
[all …]
/third_party/boost/libs/multiprecision/performance/
Dperformance_test-msvc-10.log977 …s)][5.8492e+235 (0.1971s)][9.91271e+235 (0.334027s)][1.60165e+236 (0.539708s)][-1.#INF (0.94847s)]]
984 [[cpp_int][3.51789 (0.104856s)][-1.#INF (0.203012s)][-1.#INF (0.391566s)][-1.#INF (0.768511s)]]
985 …[cpp_int(fixed)][1.14548 (0.0341425s)][-1.#INF (0.103684s)][-1.#INF (0.200647s)][-1.#INF (0.377704…
987 [[gmp_int][1.91945 (0.0572117s)][-1.#INF (0.10258s)][-1.#INF (0.188529s)][-1.#INF (0.355222s)]]
988 [[tommath_int][71.0078 (2.11648s)][-1.#INF (2.74052s)][-1.#INF (3.96918s)][-1.#INF (9.09202s)]]
993 …78e+006 (0.0341411s)][-1.22854e+007 (0.0501131s)][-1.4424e+007 (0.0588367s)][-1.#INF (0.0774574s)]]
1001 …612e+307 (0.0417383s)][-8.99012e+307 (0.0539427s)][-1.17371e+308 (0.070425s)][-1.#INF (0.112823s)]]
1003 [[gmp_int][87.5331 (0.141306s)][-1.#INF (0.139398s)][-1.#INF (0.142498s)][-1.#INF (0.141249s)]]
1004 [[tommath_int][241.059 (0.389144s)][-1.#INF (0.389768s)][-1.#INF (0.40432s)][-1.#INF (0.653128s)]]
1009 …62916e+274 (0.0673436s)][-5.78275e+274 (0.107306s)][-9.2595e+274 (0.171821s)][-1.#INF (0.299236s)]]
[all …]
/third_party/jerryscript/tests/unit-libm/
Dtest-libm.inc.h174 check_double ("acosh (INFINITY)", acosh (INFINITY), INF);
201 check_double ("asinh (INFINITY)", asinh (INFINITY), INF);
202 check_double ("asinh (-INFINITY)", asinh (-INFINITY), -INF);
226 check_double ("atanh (1.0)", atanh (1.0), INF);
227 check_double ("atanh (-1.0)", atanh (-1.0), -INF);
253 check_double ("ceil (INFINITY)", ceil (INFINITY), INF);
254 check_double ("ceil (-INFINITY)", ceil (-INFINITY), -INF);
266 check_double ("exp (INFINITY)", exp (INFINITY), INF);
270 check_double ("exp (7.10e+02)", exp (7.10e+02), INF);
293 check_double ("expm1 (INFINITY)", expm1 (INFINITY), INF);
[all …]
/third_party/gstreamer/gstplugins_base/tests/files/
Dhls.m3u82 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=246221
4 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=38872
6 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=153059
8 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=455394
10 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=650356
12 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=861738
14 #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1258987
/third_party/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;
/third_party/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 …]
/third_party/PyYAML/tests/data/
Dyaml11.schema25 '!!float +.INF': ['inf', 'inf()', '.inf']
29 '!!float -.INF': ['inf', 'inf-neg()', '-.inf']
38 '!!float .INF': ['inf', 'inf()', '.inf']
85 '!!str +.INF': ['str', '+.INF', "'+.INF'"]
95 '!!str -.INF': ['str', '-.INF', "'-.INF'"]
112 '!!str .INF': ['str', '.INF', "'.INF'"]
173 '+.INF': ['inf', 'inf()', '.inf']
184 '-.INF': ['inf', 'inf-neg()', '-.inf']
201 '.INF': ['inf', 'inf()', '.inf']
/third_party/protobuf/php/src/Google/Protobuf/Internal/
DGPBJsonWire.php177 } elseif ($value === INF) {
179 } elseif ($value === -INF) {
189 } elseif ($value === INF) {
191 } elseif ($value === -INF) {
/third_party/libphonenumber/java/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"/>
/third_party/libphonenumber/tools/java/data/webapp/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"/>
/third_party/ffmpeg/doc/
Dtexi2pod.pl83 INF: while(<$inf>) { label
114 open($inf, "<" . $_ . "/" . $1) and next INF;
134 last INF;
/third_party/ffmpeg/tests/ref/fate/
Deval158 Evaluating 'isnan(INF)'
159 'isnan(INF)' -> 0.000000
167 Evaluating 'isinf(INF)'
168 'isinf(INF)' -> 1.000000
/third_party/python/Lib/test/test_json/
Dtest_enum.py25 INF = float('inf') variable
30 inf = INF
115 self.assertEqual(nd['i'], INF)
/third_party/boost/libs/multiprecision/doc/
Dnumeric_limits_32_tables.qbk86 [[infinity][1.#INF][1.#INF][1.#INF][inf][inf]]
/third_party/mindspore/mindspore/lite/java/java/fl_client/
Dbuild.gradle140 …uild/libs/jarX86/mindspore-lite-java-flclient.jar",'META-INF/.SF', 'META-INF/.RSA', 'META-INF/*S…
/third_party/cJSON/tests/inputs/
Dtest433 "searchEngineRobotsDb": "WEB-INF/robots.db",
88 "taglib-location": "/WEB-INF/tlds/cofax.tld"}}}
Dtest4.expected33 "searchEngineRobotsDb": "WEB-INF/robots.db",
91 "taglib-location": "/WEB-INF/tlds/cofax.tld"
/third_party/cJSON/fuzzing/inputs/
Dtest433 "searchEngineRobotsDb": "WEB-INF/robots.db",
88 "taglib-location": "/WEB-INF/tlds/cofax.tld"}}}
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DNV_vertex_program2.txt1881 There are three special encodings referred to in this section: +INF means
1882 "positive infinity", -INF means "negative infinity", and NaN refers to
1904 2. abs(-INF) = abs(+INF) = +INF.
1934 3. +INF + <x> = +INF, for all <x> except NaN and -INF.
1935 4. -INF + <x> = -INF, for all <x> except NaN and +INF.
1936 5. +INF + -INF = NaN.
2003 2. floor(<x>) = <x>, for -0.0, +0.0, -INF, and +INF. In all cases, the
2111 2. ApproxCosine(+/-INF) = NaN.
2225 2. Approx2ToX(-INF) = +0.0.
2226 3. Approx2ToX(+INF) = +INF.
[all …]

12345