Es-discuss - several decimal discussions

Mark S. Miller erights at
Sun Aug 24 18:51:15 PDT 2008

On Sun, Aug 24, 2008 at 5:40 PM, Brendan Eich <brendan at> wrote:
> Why is eq being proposed whatever happens with Decimal?

Because in the absence of decimal, === is close enough to an
"identical" test that one can practically code around the problem
cases (NaN and -0)

> We've been over this before, === is an equivalence relation excluding NaN.
> It happens to put 0 and -0 in the same equivalence class. Why this is a
> problem has yet to be demonstrated (add hashcode and then we can talk ;-).

Until we add either hashcode or decimal, we can postpone the whole topic.


More information about the Es-discuss mailing list