Don't compare floats for equality

Robert C. Helling helling at atdotde.de
Tue Jan 21 13:03:08 UTC 2014


Now that we have a macro to replace float equality testing, we should use it in places where floating point jitter might bite use otherwise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Having-a-better-floating-point-equality-test-we-shou.patch
Type: application/octet-stream
Size: 1305 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140121/addf0058/attachment.obj>
-------------- next part --------------

--                                                                              
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO 
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics  
                      Scientific Coordinator                                   
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik    
print "Just another   Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339       
    stupid .sig\n";   http://www.atdotde.de 



More information about the subsurface mailing list