Thread: pgsql/src/backend/utils/adt float.c

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

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/06/02 13:12:12

Modified files:
    src/backend/utils/adt: float.c

Log message:
    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.