Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4deb20f

Browse files
committed
Fix for missing NAN.
1 parent7fab608 commit4deb20f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/backend/utils/adt/float.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.36 1999/01/10 17:13:06 thomas Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/float.c,v 1.37 1999/01/17 03:28:37 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -71,6 +71,10 @@
7171
#defineSHRT_MIN (-32768)
7272
#endif
7373

74+
#ifndefNAN
75+
#defineNAN(0.0/0.0)
76+
#endif
77+
7478
#defineFORMAT'g'/* use "g" output format as standard
7579
* format */
7680
/* not sure what the following should be, but better to make it over-sufficient */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp