On Jul 25, 2013, at 6:08 AM, Roberto Ierusalimschy <email@example.com> wrote:
The fact that most people should not bother with this difference was
Sorry I didn't quite make myself clear. I was thinking of the case of something like this:
function mask64(x, y)
-- Insert checking code here???
return bit64.and(x,y) != 0
Assuming "bit64.and()" is a 64-bit aware bitwise AND function. Depending on how such a library works, won't SOMEONE (bit library or the above function) have to check if x/y are float or integer, for the gray area?
I think what I'm hearing is that (x+1 == x) is the "blessed" way to do this check going forward?