HomeSort by relevance Sort by last modified time
    Searched defs:IsInf (Results 1 - 2 of 2) 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 428 // isinf(x) --> fabs(x) == infinity
432 V = Builder.CreateFCmpOEQ(V, ConstantFP::getInfinity(V->getType()),"isinf");
437 // isinf_sign(x) -> isinf(x) ? (signbit(x) ? -1 : 1) : 0
446 Builder.CreateFCmpULT(Abs, ConstantFP::getInfinity(V->getType()),"isinf");
464 Builder.CreateFCmpUNE(Abs, ConstantFP::getInfinity(V->getType()),"isinf");
502 Value *IsInf =
504 "isinf");
507 Builder.CreateCondBr(IsInf, End, NotInf);
    [all...]

Completed in 533 milliseconds