Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ohler55 committed Mar 4, 2020
1 parent 4e5ad09 commit d9f1011
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,9 @@
# CHANGELOG

## 3.10.5 - 2020-03-03

- Fix test

## 3.10.4 - 2020-03-03

- Another adjustment to get Ruby floats to match Oj thanks to klaxit.
Expand Down
2 changes: 2 additions & 0 deletions ext/oj/parse.c
Expand Up @@ -819,6 +819,8 @@ oj_num_as_value(NumInfo ni) {
d = (double)ld * pow(10.0, x);
} else if (0 > x) {
d = (double)ld / pow(10.0, -x);
} else {
d = (double)ld;
}
if (ni->neg) {
d = -d;
Expand Down
2 changes: 1 addition & 1 deletion lib/oj/version.rb
@@ -1,5 +1,5 @@

module Oj
# Current version of the module.
VERSION = '3.10.4'
VERSION = '3.10.5'
end

0 comments on commit d9f1011

Please sign in to comment.