Skip to content
Snippets Groups Projects
Commit b78d1bed authored by Tom Lane's avatar Tom Lane
Browse files

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.
parent 5a832218
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment