HomeSort by relevance Sort by last modified time
    Searched defs:IsInf (Results 1 - 4 of 4) 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/ceres-solver/google3/
jet_traits.h 48 static bool IsInf (const Type x) { return isinf(x); }
  /external/eigen/unsupported/test/mpreal/
mpreal.h 76 #define IsInf(x) isinf(x) // Intel ICC compiler on Linux
79 #define IsInf(x) (!_finite(x))
82 #define IsInf(x) std::isinf(x) // GNU C/C++ (and/or other compilers), just hope for C99 conformance
477 friend bool isinf (const mpreal& v);
1590 inline bool isinf (const mpreal& v){ return (mpfr_inf_p(v.mp) != 0); } function in namespace:mpfr
    [all...]
  /external/clang/lib/CodeGen/
CGBuiltin.cpp 515 // isinf(x) --> fabs(x) == infinity
519 V = Builder.CreateFCmpOEQ(V, ConstantFP::getInfinity(V->getType()),"isinf");
524 // isinf_sign(x) -> isinf(x) ? (signbit(x) ? -1 : 1) : 0
533 Builder.CreateFCmpULT(Abs, ConstantFP::getInfinity(V->getType()),"isinf");
551 Builder.CreateFCmpUNE(Abs, ConstantFP::getInfinity(V->getType()),"isinf");
589 Value *IsInf =
591 "isinf");
594 Builder.CreateCondBr(IsInf, End, NotInf);
    [all...]

Completed in 290 milliseconds