Fix for missing NAN.

This commit is contained in:
Bruce Momjian 1999-01-17 03:28:37 +00:00
parent 7fab608205
commit 4deb20f4ce
1 changed files with 5 additions and 1 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.36 1999/01/10 17:13:06 thomas Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.37 1999/01/17 03:28:37 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -71,6 +71,10 @@
#define SHRT_MIN (-32768)
#endif
#ifndef NAN
#define NAN (0.0/0.0)
#endif
#define FORMAT 'g' /* use "g" output format as standard
* format */
/* not sure what the following should be, but better to make it over-sufficient */