pgsql/src backend/utils/adt/int8.c test/regres ... - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src backend/utils/adt/int8.c test/regres ...
Date
Msg-id 200101262250.f0QMoQa01055@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/01/26 17:50:26

Modified files:
    src/backend/utils/adt: int8.c
    src/test/regress/expected: int8-exp-three-digits.out int8.out
    src/test/regress/sql: int8.sql

Log message:
    Change float8-to-int8 conversion to round to nearest, rather than
    truncating to integer.  Remove regress test that checks whether
    4567890123456789 can be converted to float without loss; since that's
    52 bits, it's on the hairy edge of failing with IEEE float8s, and indeed
    rint seems to give platform-dependent results for it.


pgsql-committers by date:

Previous
From: Vince Vielhaber
Date:
Subject: [WEBMASTER] 'www/html/users-lounge index.html'
Next
From: Peter Eisentraut - PostgreSQL
Date:
Subject: pgsql/doc/src/sgml array.sgml