[Bug c/41867] Translation time Floating Point precision is too small

tydeman at tybor dot com gcc-bugzilla@gcc.gnu.org
Thu Oct 29 19:27:00 GMT 2009



------- Comment #2 from tydeman at tybor dot com  2009-10-29 19:27 -------
Compile options: -std=gnu99 -pedantic -H -fno-builtin -frounding-math
Since I take the gcc that comes with Fedora Core Linux 9 and 10, I have
no idea how GCC was configured.  
The output shows that all the file scope (translation time) precisions 
used were small (ULP is same magnitude as FLT_EPSILON), while all the 
local scope (runtime) precisions used were large (ULP same magnitude as 
LDBL_EPSILON).  All six should be the same magnitude as LDBL_EPSILON for 
this hardware.  
None of the messages with 1:, 2:, 3:, 7:, 8:, 11:, or 12: should be printed 
if things are done as per the C standard.  
A large precision implies a small magnitude ULP value (closer to zero).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41867



More information about the Gcc-bugs mailing list