diff options
Diffstat (limited to 'ext/json')
-rwxr-xr-x | ext/json/lib/json/common.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb index 5f6b244779..0df8a8995e 100755 --- a/ext/json/lib/json/common.rb +++ b/ext/json/lib/json/common.rb @@ -74,7 +74,7 @@ module JSON end self.create_id = 'json_class' - NaN = (-1.0) ** 0.5 + NaN = 0.0/0 Infinity = 1.0/0 |