This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32352] Crash (out of bounds) with converting real to integer array index with -mrecip
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 15 Jun 2007 21:18:19 -0000
- Subject: [Bug target/32352] Crash (out of bounds) with converting real to integer array index with -mrecip
- References: <bug-32352-13404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from dominiq at lps dot ens dot fr 2007-06-15 21:18 -------
I don't understand how recip(1.0f) can return something different from 1.0f:
the twelve bit approximation should return 1.0f then the NR-step should involve
only integers, hence no round-off errors.
What am I missing?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32352