提交 4deb20f4 编写于 作者: B Bruce Momjian

Fix for missing NAN.

上级 7fab6082
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册