Skip to content
Prev 33546 / 63424 Next

identical(0, -0)

Petr Savicky wrote:
I wouldn't mind a "strict" option.   It would compare bit patterns, so 
would distinguish +0 from -0, and different NaN values. But having the 
value of  identical(x-y, -(y-x)) depend on whether x and y are equal or 
not would just lead to confusion.W

Duncan Murdoch