Searched refs:isinf (Results 1 – 11 of 11) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_cmath.py | 81 if math.isinf(a): 459 self.assertFalse(cmath.isinf(1)) 460 self.assertFalse(cmath.isinf(1j)) 461 self.assertFalse(cmath.isinf(NAN)) 462 self.assertTrue(cmath.isinf(INF)) 463 self.assertTrue(cmath.isinf(complex(INF, 0))) 464 self.assertTrue(cmath.isinf(complex(0, INF))) 465 self.assertTrue(cmath.isinf(complex(INF, INF))) 466 self.assertTrue(cmath.isinf(complex(NAN, INF))) 467 self.assertTrue(cmath.isinf(complex(INF, NAN)))
|
D | ieee754.txt | 36 The math module's ``isnan`` and ``isinf`` functions can be used to detect INF 38 >>> isinf(INF), isinf(NINF), isnan(NAN)
|
D | test_math.py | 71 if math.isinf(expected) and got == expected: 323 self.assertTrue(math.isinf(math.copysign(INF, NAN))) 890 self.assertTrue(math.isinf(float("inf"))) 891 self.assertTrue(math.isinf(float("-inf"))) 892 self.assertTrue(math.isinf(1E400)) 893 self.assertTrue(math.isinf(-1E400)) 894 self.assertFalse(math.isinf(float("nan"))) 895 self.assertFalse(math.isinf(0.)) 896 self.assertFalse(math.isinf(1.))
|
D | test_float.py | 6 from math import isinf, isnan, copysign, ldexp 865 self.assertTrue(isinf(float("inf"))) 866 self.assertTrue(isinf(float("+inf"))) 867 self.assertTrue(isinf(float("-inf"))) 868 self.assertTrue(isinf(float("infinity"))) 869 self.assertTrue(isinf(float("+infinity"))) 870 self.assertTrue(isinf(float("-infinity")))
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
D | math.h | 77 #define isinf(__x) __isinf(__x) macro 79 #define isinf(__x) __fpmacro_unary_floating(isinf, __x) macro
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | pymath.h | 115 # define Py_IS_INFINITY(X) isinf(X) 185 #define Py_OVERFLOWED(X) isinf(X)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | pymath.h | 115 # define Py_IS_INFINITY(X) isinf(X) 185 #define Py_OVERFLOWED(X) isinf(X)
|
/device/linaro/bootloader/edk2/StdLib/LibC/Main/ |
D | isinfd_ieee754.c | 52 __weak_alias(isinf,__isinfd) in __weak_alias() argument
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | fractions.py | 180 if math.isnan(f) or math.isinf(f): 535 if math.isnan(b) or math.isinf(b): 565 if math.isnan(other) or math.isinf(other):
|
D | decimal.py | 685 if _math.isinf(f) or _math.isnan(f): # raises TypeError if not a float
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | vfwprintf.c | 1192 if (isinf(_double)) { in WDECL()
|