HomeSort by relevance Sort by last modified time
    Searched defs:IsInf (Results 1 - 3 of 3) sorted by null

  /external/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...]
  /external/clang/lib/CodeGen/
CGBuiltin.cpp 504 // isinf(x) --> fabs(x) == infinity
508 V = Builder.CreateFCmpOEQ(V, ConstantFP::getInfinity(V->getType()),"isinf");
513 // isinf_sign(x) -> isinf(x) ? (signbit(x) ? -1 : 1) : 0
522 Builder.CreateFCmpULT(Abs, ConstantFP::getInfinity(V->getType()),"isinf");
540 Builder.CreateFCmpUNE(Abs, ConstantFP::getInfinity(V->getType()),"isinf");
578 Value *IsInf =
580 "isinf");
583 Builder.CreateCondBr(IsInf, End, NotInf);
    [all...]
  /external/eigen/unsupported/test/mpreal/
mpreal.h 75 #define IsInf(x) isinf(x) // Intel ICC compiler on Linux
78 #define IsInf(x) (!_finite(x))
81 #define IsInf(x) std::isinf(x) // GNU C/C++
84 #define IsInf(x) std::isinf(x) // Unknown compiler, just hope for C99 conformance
463 friend bool isinf (const mpreal& v);
1387 inline bool isinf (const mpreal& v){ return (mpfr_inf_p(v.mp) != 0); } function in namespace:mpfr
    [all...]

Completed in 91 milliseconds