aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/isinf.c
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-03-01 04:53:54 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-03-01 04:53:54 +0000
commit22d79d0ef1d0e217f16b9491080ba4481c8b230d (patch)
treef1f7a803cd9bd95f3525d064cbb8529e2a732894 /src/backend/port/isinf.c
parent207acd86d710d6d343fbe94cba362aa545247175 (diff)
downloadpostgresql-22d79d0ef1d0e217f16b9491080ba4481c8b230d.tar.gz
postgresql-22d79d0ef1d0e217f16b9491080ba4481c8b230d.zip
From: "Billy G. Allie" <Bill.Allie@mug.org>
The following patch will change the meaning of the isinf function in the HAVE_FPCLASS section from "not finite" to "is infinity".
Diffstat (limited to 'src/backend/port/isinf.c')
-rw-r--r--src/backend/port/isinf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/backend/port/isinf.c b/src/backend/port/isinf.c
index d96e328d128..c6395612aa7 100644
--- a/src/backend/port/isinf.c
+++ b/src/backend/port/isinf.c
@@ -1,4 +1,4 @@
-/* $Id: isinf.c,v 1.4 1998/02/26 04:34:10 momjian Exp $ */
+/* $Id: isinf.c,v 1.5 1998/03/01 04:53:54 scrappy Exp $ */
#include <math.h>
#include "config.h"
@@ -14,8 +14,6 @@ isinf(double d)
switch (type)
{
- case FP_SNAN:
- case FP_QNAN:
case FP_NINF:
case FP_PINF:
return (1);