]> granicus.if.org Git - postgresql/commit
Paranoia about unordered comparisons in IEEE float math. If we are
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 2 Jun 2001 17:12:12 +0000 (17:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 2 Jun 2001 17:12:12 +0000 (17:12 +0000)
commit58193c5f37838b49043925437e3c99711ca66407
treeada10d26ddba86b354edc3ebb4d272beae65251e
parentfc7c16fd16747f2d3e56777a923262233d36f07a
Paranoia about unordered comparisons in IEEE float math.  If we are
given values that compare as unordered, make sure we reply that they
are equal, which is better than giving an arbitrary answer --- at least
it doesn't depend on which one is passed as which arg.
src/backend/utils/adt/float.c