Problems with NaNs
by Colin Adams (modified: 2007 May 08)
I've started an article on this subject at Not a Number. Please contribute. We need a solution to this problem.
I've started an article on this subject at Not a Number. Please contribute. We need a solution to this problem.
The discussion has already started
Have a look at what we analyzed at: http://dev.eiffel.com/Real_numbers.
I couldn't see equality
ThereÅ› some useful stuff in there, but I didn't see anything on the equality issue, which is the killer for assertion monitoring. Colin Adams
O_o
http://dev.eiffel.com/REAL_64_%28issues%29#is_equal_and_NaN -- mTn-_-|
I meant proposed solutions
Yes, Peter has mentioned the issue too.
But my remark was about the page presenting the proposed new interface for REAL_64. It has some nice features, but lacks an analysis of how to deal with the NaN equality problem. Until this is decided upon, writing the contracts is premature, as you can not see the impact.
Colin Adams