Change float8-to-int8 conversion to round to nearest, rather than

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b78d1bed07d343542a4d295c3113c73a3379ed93
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-01-26T22:50:26Z
Releases: 7.1.1
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.

Files