mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Fix:
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:
15
src/backend/port/isinf.c
Normal file
15
src/backend/port/isinf.c
Normal 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user