Skip to content
Snippets Groups Projects
Commit 27981620 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

cleanup

parent 7badb1e7
No related branches found
No related tags found
No related merge requests found
/* $Id: isinf.c,v 1.11 1999/07/18 20:43:12 momjian Exp $ */ /* $Id: isinf.c,v 1.12 1999/07/18 20:43:33 momjian Exp $ */
#include <math.h> #include <math.h>
#include "config.h" #include "config.h"
#if HAVE_FPCLASS #if HAVE_FPCLASS /* this is _not_ HAVE_FP_CLASS, and not typo */
#if HAVE_IEEEFP_H #if HAVE_IEEEFP_H
#include <ieeefp.h> #include <ieeefp.h>
#endif #endif
...@@ -26,6 +28,7 @@ isinf(double d) ...@@ -26,6 +28,7 @@ isinf(double d)
#else #else
#if defined(HAVE_FP_CLASS) || defined(HAVE_FP_CLASS_D) #if defined(HAVE_FP_CLASS) || defined(HAVE_FP_CLASS_D)
#if HAVE_FP_CLASS_H #if HAVE_FP_CLASS_H
#include <fp_class.h> #include <fp_class.h>
#endif #endif
...@@ -48,10 +51,7 @@ double x; ...@@ -48,10 +51,7 @@ double x;
return 0; return 0;
} }
#endif #else defined(HAVE_CLASS)
#endif
#if defined(HAVE_CLASS)
int int
isinf(double x) isinf(double x)
{ {
...@@ -65,3 +65,5 @@ isinf(double x) ...@@ -65,3 +65,5 @@ isinf(double x)
} }
#endif #endif
#endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment