1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00
nodeAgg.c: WARN -> NOTICE for elog
parse_oper.c: was created after patch for fmgr_info, so function call wrong
scan.c: regenerated for i386_solaris using flex 2.5.4
gethostname.c: required prototype for gethostname() function
config.h.in: create prototype for isinfo() function

isinf.c: "fake" isinf() under i386_solaris using fpclass() call...
This commit is contained in:
Marc G. Fournier
1998-01-15 20:54:52 +00:00
parent baef78d96b
commit d876c25803
6 changed files with 28 additions and 10 deletions

15
src/backend/port/isinf.c Normal file
View File

@@ -0,0 +1,15 @@
/* $Id: isinf.c,v 1.1 1998/01/15 20:54:37 scrappy Exp $ */
#include <ieeefp.h>
#include <math.h>
#include "config.h"
int
isinf(double x)
{
if((fpclass(x) == FP_PINF) || (fpclass(x) == FP_NINF)) return 1;
else return 0;
}