mirror of https://github.com/postgres/postgres
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...REL6_4
parent
baef78d96b
commit
d876c25803
@ -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; |
||||
} |
||||
|
Loading…
Reference in new issue