/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/swiftshader/third_party/LLVM/lib/Support/ |
IsInf.cpp | 1 //===-- IsInf.cpp - Platform-independent wrapper around C99 isinf() -------===// 10 // Platform-independent wrapper around C99 isinf() 22 using std::isinf; 27 static int isinf(double x) { return !finite(x) && x==x; } 30 #define isinf(X) (!_finite(X)) 32 // GCC's fixincludes seems to be removing the isinf() declaration from the 35 static int isinf(double x) { return !finite(x) && x==x; } 39 static int isinf(double x) { return ((x) == INFINITY) || ((x) == -INFINITY); } 41 # error "Don't know how to get isinf()" [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):
|
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 {
|
hypot.go | 24 case IsInf(p, 0) || IsInf(q, 0):
|
floor.go | 16 if x == 0 || IsNaN(x) || IsInf(x, 0) { 51 if x == 0 || IsNaN(x) || IsInf(x, 0) {
|
logb.go | 18 case IsInf(x, 0): 39 case IsInf(x, 0):
|
pow.go | 63 case IsInf(y, 0): 67 case (Abs(x) < 1) == IsInf(y, 1): 72 case IsInf(x, 0): 73 if IsInf(x, -1) {
|
frexp.go | 23 case IsInf(f, 0) || IsNaN(f):
|
mod.go | 24 if y == 0 || IsInf(x, 0) || IsNaN(x) || IsNaN(y) {
|
/prebuilts/go/linux-x86/src/math/ |
dim.go | 31 case IsInf(x, 1) || IsInf(y, 1): 58 case IsInf(x, -1) || IsInf(y, -1):
|
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 {
|
hypot.go | 24 case IsInf(p, 0) || IsInf(q, 0):
|
floor.go | 16 if x == 0 || IsNaN(x) || IsInf(x, 0) { 51 if x == 0 || IsNaN(x) || IsInf(x, 0) {
|
logb.go | 18 case IsInf(x, 0): 39 case IsInf(x, 0):
|
pow.go | 63 case IsInf(y, 0): 67 case (Abs(x) < 1) == IsInf(y, 1): 72 case IsInf(x, 0): 73 if IsInf(x, -1) {
|
frexp.go | 23 case IsInf(f, 0) || IsNaN(f):
|
/external/protobuf/src/google/protobuf/stubs/ |
mathlimits.h | 47 // access old-fashioned isinf et al. Even worse more: this file must not 48 // include <cmath> because that breaks the definition of isinf with gcc 4.9. 50 // TODO(mec): after C++11 everywhere, use <cmath> and std::isinf in this file. 122 static bool IsInf(const Type x); 161 static bool IsInf(const Type /*x*/) { return false; } \ 224 #ifdef WIN32 // Lacks built-in isnan() and isinf() 228 static bool IsInf(const Type x) { return (_fpclass(x) & (_FPCLASS_NINF | _FPCLASS_PINF)) != 0; } \ 233 static bool IsFinite(const Type x) { return !isinf(x) && !isnan(x); } \ 235 static bool IsInf(const Type x) { return isinf(x); } [all...] |
/prebuilts/go/darwin-x86/test/ |
cmplxdivide.go | 29 case cmplx.IsInf(a) && cmplx.IsInf(b):
|
/prebuilts/go/linux-x86/test/ |
cmplxdivide.go | 29 case cmplx.IsInf(a) && cmplx.IsInf(b):
|