[Bug c/66736] float rounding differences when using constant literal versus variable

2015-07-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66736 --- Comment #3 from Richard Biener --- (In reply to dhekir from comment #2) > Isn't the library implementation of log10f used to compute the literal > constants generated in the assembly code? Would it then be a double > precision result that wou

[Bug c/66736] float rounding differences when using constant literal versus variable

2015-07-02 Thread dhekir at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66736 --- Comment #2 from dhekir at gmail dot com --- Isn't the library implementation of log10f used to compute the literal constants generated in the assembly code? Would it then be a double precision result that would be precomputed and rounded to si

[Bug c/66736] float rounding differences when using constant literal versus variable

2015-07-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66736 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---