]> granicus.if.org Git - postgresql/commit
Portability fixes and bug fixes for recent floating point input changes.
authorNeil Conway <neilc@samurai.com>
Sun, 14 Mar 2004 05:22:52 +0000 (05:22 +0000)
committerNeil Conway <neilc@samurai.com>
Sun, 14 Mar 2004 05:22:52 +0000 (05:22 +0000)
commit80ac9b06acb20da700a86251d58b2eae1506b727
tree0012e42522f248b6aeeccc5822a2c4d072dd5a01
parent7665d1bc166c78ff5f8b8352201005c0ba385b26
Portability fixes and bug fixes for recent floating point input changes.
In particular, don't depend on strtod() to accept 'NaN' and 'Infinity'
inputs (while this is required by C99, not all platforms are compliant
with that yet). Also, don't require glibc's behavior from isinf():
it seems that on a lot of platforms isinf() does not itself distinguish
between negative and positive infinity.
src/backend/utils/adt/float.c