pgsql/src backend/utils/adt/int8.c test/regres ...

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src backend/utils/adt/int8.c test/regres ...
Date: 2001-01-26 22:50:26
Message-ID: 200101262250.f0QMoQa01055@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)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.

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut - PostgreSQL 2001-01-26 23:40:40 pgsql/doc/src/sgml array.sgml
Previous Message Vince Vielhaber 2001-01-26 22:49:54 [WEBMASTER] 'www/html/users-lounge index.html'