Fourth Draft "Unsafe fp optimizations" project description.

Kai Henningsen kaih@khms.westfalen.de
Wed Aug 15 00:30:00 GMT 2001


ejr@CS.Berkeley.EDU (Jason Riedy)  wrote on 12.08.01 in < 200108130550.WAA23692@lotus.CS.Berkeley.EDU >:

> 	  For a simpler
> 	view, does anyone really want to debug programs where
> 	you cannot rely on equality?

If there's one thing I've seen or heard in just about *every* discussion  
of computer floating point, it is that you cannot rely on equality. Just  
about every single one makes the point that with floating point, "A == B"  
is *wrong*, you want "abs(A-B) < some_small_value".

MfG Kai



More information about the Gcc mailing list