/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/testdata/ |
sqrt_const.go | 51 if got := math.Sqrt(math.Inf(1)); !math.IsInf(got, 1) {
|
/prebuilts/go/linux-x86/src/math/ |
exp.go | 105 case IsNaN(x) || IsInf(x, 1): 107 case IsInf(x, -1): 148 case IsNaN(x) || IsInf(x, 1): 150 case IsInf(x, -1):
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.value.ops/ |
abs.pass.cpp | 45 assert(std::isinf(r) && r > 0);
|
norm.pass.cpp | 45 assert(std::isinf(r) && r > 0);
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/numerics/complex.number/complex.value.ops/ |
abs.pass.cpp | 45 assert(std::isinf(r) && r > 0);
|
norm.pass.cpp | 45 assert(std::isinf(r) && r > 0);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
ieee754.txt | 36 The math module's ``isnan`` and ``isinf`` functions can be used to detect INF
38 >>> isinf(INF), isinf(NINF), isnan(NAN)
|
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))) [all...] |
/external/python/cpython2/Lib/test/ |
ieee754.txt | 36 The math module's ``isnan`` and ``isinf`` functions can be used to detect INF 38 >>> isinf(INF), isinf(NINF), isnan(NAN)
|
test_cmath.py | 81 if math.isinf(a): 490 self.assertFalse(cmath.isinf(1)) 491 self.assertFalse(cmath.isinf(1j)) 492 self.assertFalse(cmath.isinf(NAN)) 493 self.assertTrue(cmath.isinf(INF)) 494 self.assertTrue(cmath.isinf(complex(INF, 0))) 495 self.assertTrue(cmath.isinf(complex(0, INF))) 496 self.assertTrue(cmath.isinf(complex(INF, INF))) 497 self.assertTrue(cmath.isinf(complex(NAN, INF))) 498 self.assertTrue(cmath.isinf(complex(INF, NAN)) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
ieee754.txt | 36 The math module's ``isnan`` and ``isinf`` functions can be used to detect INF 38 >>> isinf(INF), isinf(NINF), isnan(NAN)
|
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)) [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
ieee754.txt | 36 The math module's ``isnan`` and ``isinf`` functions can be used to detect INF 38 >>> isinf(INF), isinf(NINF), isnan(NAN)
|
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)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
ieee754.txt | 36 The math module's ``isnan`` and ``isinf`` functions can be used to detect INF 38 >>> isinf(INF), isinf(NINF), isnan(NAN)
|
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)) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
ieee754.txt | 36 The math module's ``isnan`` and ``isinf`` functions can be used to detect INF 38 >>> isinf(INF), isinf(NINF), isnan(NAN)
|
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)) [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/patches.android/ |
0011-Fix-tests-for-Android.patch | 102 static_assert((std::is_same<decltype(isinf((float)0)), bool>::value), ""); 104 + // 64-bit bionic isinf(double) returns int. 105 static_assert((std::is_same<decltype(isinf((double)0)), bool>::value), ""); 107 static_assert((std::is_same<decltype(isinf((long double)0)), bool>::value), ""); 108 assert(isinf(-1.0) == false); 347 #error isinf defined 349 static_assert((std::is_same<decltype(std::isinf((float)0)), bool>::value), ""); 352 static_assert((std::is_same<decltype(std::isinf((double)0)), bool>::value), ""); 354 static_assert((std::is_same<decltype(std::isinf(0)), bool>::value), ""); 355 static_assert((std::is_same<decltype(std::isinf((long double)0)), bool>::value), "") [all...] |
/external/clang/test/CodeGen/ |
builtins.c | 62 P(isinf, (1.)); 197 // CHECK: %[[ISINF:.*]] = fcmp oeq float %[[ABS]], 0x7FF0000000000000 201 // CHECK: select i1 %[[ISINF]], i32 %[[SIGN]], i32 0 205 // CHECK: %[[ISINF:.*]] = fcmp oeq double %[[ABS]], 0x7FF0000000000000 209 // CHECK: select i1 %[[ISINF]], i32 %[[SIGN]], i32 0 213 // CHECK: %[[ISINF:.*]] = fcmp oeq x86_fp80 %[[ABS]], 0xK7FFF8000000000000000 217 // CHECK: select i1 %[[ISINF]], i32 %[[SIGN]], i32 0
|
/external/protobuf/python/google/protobuf/internal/ |
generator_test.py | 91 # Python pre-2.6 does not have isinf() or isnan() functions, so we have 96 def isinf(val): function in function:GeneratorTest.testExtremeDefaultValues 100 self.assertTrue(isinf(message.inf_double)) 102 self.assertTrue(isinf(message.neg_inf_double)) 106 self.assertTrue(isinf(message.inf_float)) 108 self.assertTrue(isinf(message.neg_inf_float))
|
/prebuilts/clang/host/darwin-x86/clang-3859424/lib64/clang/4.0/include/ |
__clang_cuda_cmath.h | 75 __DEVICE__ bool isinf(float __x) { return ::__isinff(__x); } function 76 __DEVICE__ bool isinf(double __x) { return ::__isinf(__x); } function 228 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(bool, isinf); 400 // pull them in with libstdc++, because its ::isinf and ::isnan are different 401 // than its std::isinf and std::isnan. 403 using ::isinf;
|
/prebuilts/clang/host/darwin-x86/clang-3957855/lib64/clang/5.0/include/ |
__clang_cuda_cmath.h | 79 __DEVICE__ bool isinf(float __x) { return ::__isinff(__x); } function 80 __DEVICE__ bool isinf(double __x) { return ::__isinf(__x); } function 237 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(bool, isinf); 409 // pull them in with libstdc++, because its ::isinf and ::isnan are different 410 // than its std::isinf and std::isnan. 412 using ::isinf;
|
/prebuilts/clang/host/darwin-x86/clang-3960126/lib64/clang/5.0/include/ |
__clang_cuda_cmath.h | 79 __DEVICE__ bool isinf(float __x) { return ::__isinff(__x); } function 80 __DEVICE__ bool isinf(double __x) { return ::__isinf(__x); } function 237 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(bool, isinf); 409 // pull them in with libstdc++, because its ::isinf and ::isnan are different 410 // than its std::isinf and std::isnan. 412 using ::isinf;
|
/prebuilts/clang/host/darwin-x86/clang-3977809/lib64/clang/5.0/include/ |
__clang_cuda_cmath.h | 79 __DEVICE__ bool isinf(float __x) { return ::__isinff(__x); } function 80 __DEVICE__ bool isinf(double __x) { return ::__isinf(__x); } function 237 __CUDA_CLANG_FN_INTEGER_OVERLOAD_1(bool, isinf); 409 // pull them in with libstdc++, because its ::isinf and ::isnan are different 410 // than its std::isinf and std::isnan. 412 using ::isinf;
|