-
Notifications
You must be signed in to change notification settings - Fork 588
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1216 from semmons99/bigdecimal-comparing-NaN
update BigDecimalCmp to return false when comparing to NaN
- Loading branch information
Showing
22 changed files
with
7 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#=== NaN is never equal to any number | ||
fails:BigDecimal#=== returns false when compared objects that can not be coerced into BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#eql? NaN is never equal to any number | ||
fails:BigDecimal#eql? returns false when compared objects that can not be coerced into BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#== NaN is never equal to any number | ||
fails:BigDecimal#== returns false when compared objects that can not be coerced into BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
fails:BigDecimal#> properly handles NaN values | ||
fails:BigDecimal#> properly handles NaN values | ||
fails:BigDecimal#> raises an ArgumentError if the argument can't be coerced into a BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
fails:BigDecimal#>= properly handles NaN values | ||
fails:BigDecimal#>= properly handles NaN values | ||
fails:BigDecimal#>= returns nil if the argument is nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
fails:BigDecimal#< properly handles NaN values | ||
fails:BigDecimal#< properly handles NaN values | ||
fails:BigDecimal#< raises an ArgumentError if the argument can't be coerced into a BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
fails:BigDecimal#<= properly handles NaN values | ||
fails:BigDecimal#<= properly handles NaN values | ||
fails:BigDecimal#<= raises an ArgumentError if the argument can't be coerced into a BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#=== NaN is never equal to any number | ||
fails:BigDecimal#=== returns false when compared objects that can not be coerced into BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#eql? NaN is never equal to any number | ||
fails:BigDecimal#eql? returns false when compared objects that can not be coerced into BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#== NaN is never equal to any number | ||
fails:BigDecimal#== returns false when compared objects that can not be coerced into BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#> properly handles NaN values | ||
fails:BigDecimal#> raises an ArgumentError if the argument can't be coerced into a BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#>= properly handles NaN values | ||
fails:BigDecimal#>= returns nil if the argument is nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#< properly handles NaN values | ||
fails:BigDecimal#< raises an ArgumentError if the argument can't be coerced into a BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#<= properly handles NaN values | ||
fails:BigDecimal#<= raises an ArgumentError if the argument can't be coerced into a BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#=== NaN is never equal to any number | ||
fails:BigDecimal#=== returns false when compared objects that can not be coerced into BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#eql? NaN is never equal to any number | ||
fails:BigDecimal#eql? returns false when compared objects that can not be coerced into BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#== NaN is never equal to any number | ||
fails:BigDecimal#== returns false when compared objects that can not be coerced into BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#> properly handles NaN values | ||
fails:BigDecimal#> raises an ArgumentError if the argument can't be coerced into a BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#>= properly handles NaN values | ||
fails:BigDecimal#>= returns nil if the argument is nil |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#< properly handles NaN values | ||
fails:BigDecimal#< raises an ArgumentError if the argument can't be coerced into a BigDecimal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
fails:BigDecimal#<= properly handles NaN values | ||
fails:BigDecimal#<= raises an ArgumentError if the argument can't be coerced into a BigDecimal |