Home
last modified time | relevance | path

Searched refs:NINF (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Lib/test/
Dtest_math.py20 NINF = float('-inf') variable
264 self.assertRaises(ValueError, math.acos, NINF)
276 self.assertRaises(ValueError, math.acosh, NINF)
285 self.assertRaises(ValueError, math.asin, NINF)
296 self.assertEqual(math.asinh(NINF), NINF)
305 self.ftest('atan(-inf)', math.atan(NINF), -math.pi/2)
316 self.assertRaises(ValueError, math.atanh, NINF)
328 self.ftest('atan2(0., -inf)', math.atan2(0., NINF), math.pi)
336 self.ftest('atan2(-0., -inf)', math.atan2(-0., NINF), -math.pi)
344 self.ftest('atan2(inf, -inf)', math.atan2(INF, NINF), math.pi*3/4)
[all …]
Dieee754.txt26 >>> NINF = float('-inf')
31 >>> NINF
38 >>> isinf(INF), isinf(NINF), isnan(NAN)
40 >>> INF == -NINF
133 >>> sin(NINF)
143 >>> cos(NINF)
153 >>> tan(NINF)
171 >>> asin(INF), asin(NINF)
175 >>> acos(INF), acos(NINF)
179 >>> equal(atan(INF), PI/2), equal(atan(NINF), -PI/2)
/third_party/mindspore/mindspore/numpy/
Ddtypes.py26 NINF = float('-inf') variable
D__init__.py46 numeric_types, PINF, NINF)
/third_party/mindspore/mindspore/train/summary/
D_summary_adapter.py303 summary.max = ma_value.max(fill_value=np.NINF)
/third_party/mindspore/tests/st/numpy_native/
Dtest_logic_ops.py72 self.infs = onp.array([[1.0, onp.nan], [onp.inf, onp.NINF], [2.3, -4.5], [onp.nan, 0.0]])
Dtest_math_ops.py252 x[onp.random.randint(0, 10, 3)] = onp.NINF
253 y[onp.random.randint(0, 10, 3)] = onp.NINF
932 x[onp.random.randint(0, 10, 3)] = onp.NINF
933 y[onp.random.randint(0, 10, 3)] = onp.NINF
/third_party/chromium/patch/
D0001-cve.patch90522 - * include/libxml/xpath.h: exported xmlXPath{NAN,PINF,NINF}