[Bug c/53095] std=gnu99 atof x86
JoaquinMonleon at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Apr 23 22:54:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53095
--- Comment #3 from q2p0 <JoaquinMonleon at gmail dot com> 2012-04-23 22:53:56 UTC ---
#include <iostream>
int main()
{
// Error.
double a = 0.5;
double b = 0.01;
std::cout << (int)(a / b) << std::endl;
// No error.
double c = a/b;
std::cout << (int)c << std::endl;
return 0;
}
* I compile with other...
Sory, about my last sarcastic expresions, and my bad english.
I take a look to the paper when I have time.
Thanks for improve the GNU compiler GCC.
More information about the Gcc-bugs
mailing list