mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
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".
This commit is contained in:
parent
207acd86d7
commit
22d79d0ef1
@ -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 <math.h>
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
@ -14,8 +14,6 @@ isinf(double d)
|
|||||||
|
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case FP_SNAN:
|
|
||||||
case FP_QNAN:
|
|
||||||
case FP_NINF:
|
case FP_NINF:
|
||||||
case FP_PINF:
|
case FP_PINF:
|
||||||
return (1);
|
return (1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user