From: "Billy G. Allie" <Bill.Allie@mug.org>
authorMarc G. Fournier <scrappy@hub.org>
Sun, 1 Mar 1998 04:53:54 +0000 (04:53 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 1 Mar 1998 04:53:54 +0000 (04:53 +0000)
The following patch will change the meaning of the isinf function in the
HAVE_FPCLASS section from "not finite" to "is infinity".

src/backend/port/isinf.c

index d96e328d1280c3a2d69fb10f3f3c0179c4fc0abb..c6395612aa78f5d6a2b09d34116e4e9891daf35f 100644 (file)
@@ -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);