* real.c (encode_ibm_extended): Normalize the input value before
commit0d8bfd85942c83229704d2570b2fb73353c92ac1
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Feb 2004 20:00:30 +0000 (8 20:00 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 8 Feb 2004 20:00:30 +0000 (8 20:00 +0000)
tree552097bec08beca4ae6f4b3379ee0a4735807d29
parent069eea2607b7a8acf9cb6362f300f2e18b20454b
* real.c (encode_ibm_extended): Normalize the input value before
converting it to a double.  Handle the case where a normal value
rounds to infinity.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77498 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/real.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/20040208-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/20040208-2.c [new file with mode: 0644]