]> gcc.gnu.org Git - gcc.git/commit
re PR middle-end/21720 (GCC incorrectly rounds hex floats)
authorJoseph Myers <joseph@codesourcery.com>
Fri, 29 Jul 2005 01:24:38 +0000 (02:24 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Fri, 29 Jul 2005 01:24:38 +0000 (02:24 +0100)
commitb608d27a8e7fe2671c7f39795ede312ce783c94f
treeee36e0c8644cd166844d2e15df7eac1226e2f595
parenta560c83ad59db33cdd677feca540d093f84e1f55
re PR middle-end/21720 (GCC incorrectly rounds hex floats)

PR c/21720
* real.c (real_from_string): Set last bit if there is a nonzero
hex digit beyond GCC's internal precision.

testsuite:
* gcc.dg/hex-round-1.c: New test.

From-SVN: r102539
gcc/ChangeLog
gcc/real.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/hex-round-1.c [new file with mode: 0644]
This page took 0.085634 seconds and 5 git commands to generate.