Home
last modified time | relevance | path

Searched refs:isnan (Results 1 – 25 of 38) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/
Dextra.decTest866 bool0630 isnan 0E-2000 -> 0
867 bool0631 isnan -0E-2000 -> 0
868 bool0632 isnan 0E-1008 -> 0
869 bool0633 isnan -0E-1008 -> 0
870 bool0634 isnan 0E-1007 -> 0
871 bool0635 isnan -0E-1007 -> 0
872 bool0636 isnan 0E-1006 -> 0
873 bool0637 isnan -0E-1006 -> 0
874 bool0638 isnan 0E-1000 -> 0
875 bool0639 isnan -0E-1000 -> 0
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_math.py153 self.assertTrue(math.isnan(math.acos(NAN)))
163 self.assertTrue(math.isnan(math.acosh(NAN)))
172 self.assertTrue(math.isnan(math.asin(NAN)))
181 self.assertTrue(math.isnan(math.asinh(NAN)))
190 self.assertTrue(math.isnan(math.atan(NAN)))
201 self.assertTrue(math.isnan(math.atanh(NAN)))
218 self.assertTrue(math.isnan(math.atan2(0., NAN)))
226 self.assertTrue(math.isnan(math.atan2(-0., NAN)))
234 self.assertTrue(math.isnan(math.atan2(INF, NAN)))
242 self.assertTrue(math.isnan(math.atan2(NINF, NAN)))
[all …]
Dtest_cmath.py76 if math.isnan(a):
77 if math.isnan(b):
405 self.assertTrue(math.isnan(phase(z)))
418 self.assertTrue(math.isnan(abs(complex(NAN, -2.3))))
419 self.assertTrue(math.isnan(abs(complex(NAN, -0.0))))
420 self.assertTrue(math.isnan(abs(complex(NAN, 0.0))))
421 self.assertTrue(math.isnan(abs(complex(NAN, 2.3))))
424 self.assertTrue(math.isnan(abs(complex(-2.3, NAN))))
425 self.assertTrue(math.isnan(abs(complex(-0.0, NAN))))
426 self.assertTrue(math.isnan(abs(complex(0.0, NAN))))
[all …]
Dtest_float.py6 from math import isinf, isnan, copysign, ldexp
233 self.assertTrue(isnan(pow_op(-INF, NAN)))
234 self.assertTrue(isnan(pow_op(-2.0, NAN)))
235 self.assertTrue(isnan(pow_op(-1.0, NAN)))
236 self.assertTrue(isnan(pow_op(-0.5, NAN)))
237 self.assertTrue(isnan(pow_op(-0.0, NAN)))
238 self.assertTrue(isnan(pow_op(0.0, NAN)))
239 self.assertTrue(isnan(pow_op(0.5, NAN)))
240 self.assertTrue(isnan(pow_op(2.0, NAN)))
241 self.assertTrue(isnan(pow_op(INF, NAN)))
[all …]
Dieee754.txt36 The math module's ``isnan`` and ``isinf`` functions can be used to detect INF
38 >>> isinf(INF), isinf(NINF), isnan(NAN)
/device/linaro/bootloader/edk2/StdLib/LibC/Math/
Dw_pow.c36 if(_LIB_VERSION == _IEEE_|| isnan(y)) return z; in pow()
37 if(isnan(x)) { in pow()
52 if(isnan(z)) in pow()
Dw_fmod.c34 if(_LIB_VERSION == _IEEE_ ||isnan(y)||isnan(x)) return z; in fmod()
Dw_atan2.c34 if(_LIB_VERSION == _IEEE_||isnan(x)||isnan(y)) return z; in atan2()
Dw_sqrt.c33 if(_LIB_VERSION == _IEEE_ || isnan(x)) return z; in sqrt()
Dw_asin.c35 if(_LIB_VERSION == _IEEE_ || isnan(x)) return z; in asin()
Dw_acos.c34 if(_LIB_VERSION == _IEEE_ || isnan(x)) return z; in acos()
Dw_cosh.c33 if(_LIB_VERSION == _IEEE_ || isnan(x)) return z; in cosh()
Dw_log.c34 if(_LIB_VERSION == _IEEE_ || isnan(x) || x > 0.0) return z; in log()
Dw_log10.c34 if(_LIB_VERSION == _IEEE_ || isnan(x)) return z; in log10()
Dw_log2.c34 if(_LIB_VERSION == _IEEE_ || isnan(x)) return z; in log2()
/device/google/contexthub/firmware/lib/libm/
Dwf_fmod.c36 if(_LIB_VERSION == _IEEE_ ||isnan(y)||isnan(x)) return z;
Dwf_pow.c36 if(_LIB_VERSION == _IEEE_|| isnan(y)) return z;
37 if(isnan(x)) {
100 if(isnan(z)) {
Dwf_asin.c38 if(_LIB_VERSION == _IEEE_ || isnan(x)) return z;
/device/linaro/bootloader/edk2/StdLib/Include/
Dmath.h84 #define isnan(__x) __isnan(__x) macro
86 #define isnan(__x) __fpmacro_unary_floating(isnan, __x) macro
/device/linaro/bootloader/edk2/StdLib/LibC/Main/
Disnand_ieee754.c52 __weak_alias(isnan,__isnand) in __weak_alias() argument
/device/google/bonito/json-c/
Dmath_compat.h9 #define isnan(x) _isnan(x) macro
/device/google/crosshatch/json-c/
Dmath_compat.h9 #define isnan(x) _isnan(x) macro
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dpymath.h95 #define Py_IS_NAN(X) isnan(X)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dpymath.h95 #define Py_IS_NAN(X) isnan(X)
/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):

12