Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Revert 1c1b7a3, negative and positive zeros are equal.

  • Loading branch information...
commit 6c4b533a10799b44dbca84b30418beea3745b403 1 parent 2d5a833
@r-stu31 authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  kernel/common/math19.rb
View
1  kernel/common/math19.rb
@@ -35,7 +35,6 @@ def gamma(x)
x = Rubinius::Type.coerce_to_float x
return Float::INFINITY if x == 0.0
- return -Float::INFINITY if x == -0.0
return Float::NAN if x.nan?
if sign = x.infinite?
Please sign in to comment.
Something went wrong with that request. Please try again.