We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60c9a3c commit 33464adCopy full SHA for 33464ad
llvm/lib/Support/IsInf.cpp
@@ -29,6 +29,10 @@ static int isinf(double x) { return !finite(x) && x==x; }
29
// system header /usr/include/math.h
30
# include <math.h>
31
static int isinf(double x) { return !finite(x) && x==x; }
32
+#elif defined(__hpux)
33
+// HP-UX is "special"
34
+#include <math.h>
35
+static int isinf(double x) { return ((x)==INFINITY)||((x)==-INFINITY); }
36
#else
37
# error "Don't know how to get isinf()"
38
#endif
0 commit comments