On Mar 25, 2006, at 7:30 PM, Tim Blechmann wrote:
3.question is 0.4 in [== 0.4] a 32bit float?
no, because there is no possibility to encode 0.4 as a floating point number without rounding ... an equality test only makes sense, if a number can be encoded as floating point number and it's sure, you're experiencing rounding problems ...
wouldn't it make sense if the 0.4 in [== 0.4] got encoded _with_ rounding? I mean that _all_ numbers in pd get encoded _with_ rounding.
or is there an advantage that i.e. the number in [==] is not a 32bit float ?