diff options
author | Bruce Momjian <bruce@momjian.us> | 2000-04-12 17:17:23 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2000-04-12 17:17:23 +0000 |
commit | 52f77df613cea1803ce86321c37229626d9f213c (patch) | |
tree | bd9ac9f667f295cb65f4c448a5bb5a062d656b27 /src/backend/port/isinf.c | |
parent | db4518729d85da83eafdacbcebaeb12618517595 (diff) | |
download | postgresql-52f77df613cea1803ce86321c37229626d9f213c.tar.gz postgresql-52f77df613cea1803ce86321c37229626d9f213c.zip |
Ye-old pgindent run. Same 4-space tabs.
Diffstat (limited to 'src/backend/port/isinf.c')
-rw-r--r-- | src/backend/port/isinf.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/backend/port/isinf.c b/src/backend/port/isinf.c index 5bcb813a60d..208cef53494 100644 --- a/src/backend/port/isinf.c +++ b/src/backend/port/isinf.c @@ -1,10 +1,11 @@ -/* $Id: isinf.c,v 1.14 1999/12/16 01:25:02 momjian Exp $ */ +/* $Id: isinf.c,v 1.15 2000/04/12 17:15:28 momjian Exp $ */ #include <math.h> #include "config.h" -#if HAVE_FPCLASS /* this is _not_ HAVE_FP_CLASS, and not typo */ +#if HAVE_FPCLASS /* this is _not_ HAVE_FP_CLASS, and not + * typo */ #if HAVE_IEEEFP_H #include <ieeefp.h> @@ -73,11 +74,11 @@ isinf(double x) int isinf(double x) { - if (x == HUGE_VAL) - return 1; - if (x == -HUGE_VAL) - return -1; - return 0; + if (x == HUGE_VAL) + return 1; + if (x == -HUGE_VAL) + return -1; + return 0; } #endif |