Home
last modified time | relevance | path

Searched refs:isinf (Results 1 – 11 of 11) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_cmath.py81 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)))
Dieee754.txt36 The math module's ``isnan`` and ``isinf`` functions can be used to detect INF
38 >>> isinf(INF), isinf(NINF), isnan(NAN)
Dtest_math.py71 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.))
Dtest_float.py6 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/
Dmath.h77 #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/
Dpymath.h115 # 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/
Dpymath.h115 # define Py_IS_INFINITY(X) isinf(X)
185 #define Py_OVERFLOWED(X) isinf(X)
/device/linaro/bootloader/edk2/StdLib/LibC/Main/
Disinfd_ieee754.c52 __weak_alias(isinf,__isinfd) in __weak_alias() argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dfractions.py180 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):
Ddecimal.py685 if _math.isinf(f) or _math.isnan(f): # raises TypeError if not a float
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dvfwprintf.c1192 if (isinf(_double)) { in WDECL()