/prebuilts/go/darwin-x86/src/math/cmplx/ |
isinf.go | 9 // IsInf returns true if either real(x) or imag(x) is an infinity. 10 func IsInf(x complex128) bool { 11 if math.IsInf(real(x), 0) || math.IsInf(imag(x), 0) {
|
isnan.go | 13 case math.IsInf(real(x), 0) || math.IsInf(imag(x), 0):
|
/prebuilts/go/linux-x86/src/math/cmplx/ |
isinf.go | 9 // IsInf returns true if either real(x) or imag(x) is an infinity. 10 func IsInf(x complex128) bool { 11 if math.IsInf(real(x), 0) || math.IsInf(imag(x), 0) {
|
isnan.go | 13 case math.IsInf(real(x), 0) || math.IsInf(imag(x), 0):
|
/external/libcxx/test/std/numerics/c.math/ |
cmath_isinf.pass.cpp | 12 // isinf 22 #ifdef isinf 23 #error isinf defined 25 static_assert((std::is_same<decltype(std::isinf((float)0)), bool>::value), ""); 26 static_assert((std::is_same<decltype(std::isinf((double)0)), bool>::value), ""); 27 static_assert((std::is_same<decltype(std::isinf(0)), bool>::value), ""); 28 static_assert((std::is_same<decltype(std::isinf((long double)0)), bool>::value), ""); 29 assert(std::isinf(-1.0) == false);
|
/external/libcxx/test/std/numerics/complex.number/complex.transcendentals/ |
acosh.pass.cpp | 58 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) 60 assert(std::isinf(r.real())); 72 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) 74 assert(std::isinf(r.real())); 81 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) 83 assert(std::isinf(r.real())); 88 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isinf(x[i].imag())) 90 assert(std::isinf(r.real())); 97 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isinf(x[i].imag()) [all...] |
acos.pass.cpp | 54 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) 57 assert(std::isinf(r.imag())); 65 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) 68 assert(std::isinf(r.imag())); 71 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) 75 assert(std::isinf(r.imag())); 78 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isinf(x[i].imag())) 81 assert(std::isinf(r.imag())); 84 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isinf(x[i].imag()) [all...] |
cosh.pass.cpp | 49 else if (x[i].real() == 0 && std::isinf(x[i].imag())) 59 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) 69 else if (std::isinf(x[i].real()) && x[i].imag() == 0) 71 assert(std::isinf(r.real())); 76 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) 78 assert(std::isinf(r.real())); 80 assert(std::isinf(r.imag())); 83 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) 85 assert(std::isinf(r.real())) [all...] |
sinh.pass.cpp | 50 else if (x[i].real() == 0 && std::isinf(x[i].imag())) 55 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) 70 else if (std::isinf(x[i].real()) && x[i].imag() == 0) 72 assert(std::isinf(r.real())); 77 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) 79 assert(std::isinf(r.real())); 81 assert(std::isinf(r.imag())); 84 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) 86 assert(std::isinf(r.real())) [all...] |
asin.pass.cpp | 48 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) 52 assert(std::isinf(r.imag())); 66 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) 72 assert(std::isinf(r.imag())); 75 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) 81 assert(std::isinf(r.imag())); 84 else if (std::isinf(x[i].real()) && std::isnan(x[i].imag())) 87 assert(std::isinf(r.imag())); 96 else if (std::isnan(x[i].real()) && std::isinf(x[i].imag()) [all...] |
/external/v8/src/base/ |
qnx-math.h | 12 #undef isinf macro
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/complex.number/complex.transcendentals/ |
acosh.pass.cpp | 58 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) 60 assert(std::isinf(r.real())); 72 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) 74 assert(std::isinf(r.real())); 81 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) 83 assert(std::isinf(r.real())); 88 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isinf(x[i].imag())) 90 assert(std::isinf(r.real())); 97 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isinf(x[i].imag()) [all...] |
acos.pass.cpp | 54 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) 57 assert(std::isinf(r.imag())); 65 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isfinite(x[i].imag())) 68 assert(std::isinf(r.imag())); 71 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isfinite(x[i].imag())) 75 assert(std::isinf(r.imag())); 78 else if (std::isinf(x[i].real()) && x[i].real() < 0 && std::isinf(x[i].imag())) 81 assert(std::isinf(r.imag())); 84 else if (std::isinf(x[i].real()) && x[i].real() > 0 && std::isinf(x[i].imag()) [all...] |
cosh.pass.cpp | 49 else if (x[i].real() == 0 && std::isinf(x[i].imag())) 59 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) 69 else if (std::isinf(x[i].real()) && x[i].imag() == 0) 71 assert(std::isinf(r.real())); 76 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) 78 assert(std::isinf(r.real())); 80 assert(std::isinf(r.imag())); 83 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) 85 assert(std::isinf(r.real())) [all...] |
sinh.pass.cpp | 50 else if (x[i].real() == 0 && std::isinf(x[i].imag())) 55 else if (std::isfinite(x[i].real()) && std::isinf(x[i].imag())) 70 else if (std::isinf(x[i].real()) && x[i].imag() == 0) 72 assert(std::isinf(r.real())); 77 else if (std::isinf(x[i].real()) && std::isfinite(x[i].imag())) 79 assert(std::isinf(r.real())); 81 assert(std::isinf(r.imag())); 84 else if (std::isinf(x[i].real()) && std::isinf(x[i].imag())) 86 assert(std::isinf(r.real())) [all...] |
/prebuilts/go/darwin-x86/src/math/ |
dim.go | 31 case IsInf(x, 1) || IsInf(y, 1): 58 case IsInf(x, -1) || IsInf(y, -1):
|
hypot_amd64.s | 40 JEQ isInf 42 JEQ isInf 46 isInf:
|
atan2.go | 43 case IsInf(x, 0): 44 if IsInf(x, 1) { 46 case IsInf(y, 0): 53 case IsInf(y, 0): 58 case IsInf(y, 0):
|
bits.go | 39 // IsInf reports whether f is an infinity, according to sign. 40 // If sign > 0, IsInf reports whether f is positive infinity. 41 // If sign < 0, IsInf reports whether f is negative infinity. 42 // If sign == 0, IsInf reports whether f is either infinity. 43 func IsInf(f float64, sign int) bool {
|
/prebuilts/go/linux-x86/src/math/ |
dim.go | 31 case IsInf(x, 1) || IsInf(y, 1): 58 case IsInf(x, -1) || IsInf(y, -1):
|
hypot_amd64.s | 40 JEQ isInf 42 JEQ isInf 46 isInf:
|
atan2.go | 43 case IsInf(x, 0): 44 if IsInf(x, 1) { 46 case IsInf(y, 0): 53 case IsInf(y, 0): 58 case IsInf(y, 0):
|
bits.go | 39 // IsInf reports whether f is an infinity, according to sign. 40 // If sign > 0, IsInf reports whether f is positive infinity. 41 // If sign < 0, IsInf reports whether f is negative infinity. 42 // If sign == 0, IsInf reports whether f is either infinity. 43 func IsInf(f float64, sign int) bool {
|
/external/libxml2/include/ |
win32config.h | 51 /* Bjorn Reese figured a quite nice construct for isinf() using the _fpclass 53 #ifndef isinf 54 #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ macro 62 #ifndef isinf 63 static int isinf (double d) { function
|
/external/libxml2/win32/VC10/ |
config.h | 50 /* Bjorn Reese figured a quite nice construct for isinf() using the _fpclass 52 #ifndef isinf 53 #define isinf(d) ((_fpclass(d) == _FPCLASS_PINF) ? 1 \ macro 61 #ifndef isinf 62 static int isinf (double d) { function
|