mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Localize our dependencies on the way to create NAN or INFINITY.
Per recent proposal to pghackers.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.234 2004/02/03 08:29:57 joe Exp $
|
||||
* $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.235 2004/03/15 03:29:22 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -240,6 +240,12 @@ extern Datum bttext_pattern_cmp(PG_FUNCTION_ARGS);
|
||||
/* float.c */
|
||||
extern DLLIMPORT int extra_float_digits;
|
||||
|
||||
extern double get_float8_infinity(void);
|
||||
extern float get_float4_infinity(void);
|
||||
extern double get_float8_nan(void);
|
||||
extern float get_float4_nan(void);
|
||||
extern int is_infinite(double val);
|
||||
|
||||
extern Datum float4in(PG_FUNCTION_ARGS);
|
||||
extern Datum float4out(PG_FUNCTION_ARGS);
|
||||
extern Datum float4recv(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user