Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group