Issue #1363 has been updated by Heesob Park.


In order to prevent confusion in using NaN as hash key,
it would be better to raise an error like in Lua.

Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio
> h = {}
> h[0/0.0] = 1
stdin:1: table index is NaN
stack traceback:
        stdin:1: in main chunk
        [C]: ?


----------------------------------------
http://redmine.ruby-lang.org/issues/show/1363

----------------------------------------
http://redmine.ruby-lang.org