diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-10 02:36:16 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-10 02:36:16 +0000 |
commit | 848d3a3538469c8fc2849f0079d2db3e4bc40c9f (patch) | |
tree | e5a8d6aba89ef69df04055fca981228a09399269 /pack.c | |
parent | 81bdceb718c7beb8e3e0b1e3d28fbd7d92bbca01 (diff) | |
download | ruby-848d3a3538469c8fc2849f0079d2db3e4bc40c9f.tar.gz |
internal.h: change the default rounding mode to half-up
* internal.h (ROUND_DEFAULT): changed to RUBY_NUM_ROUND_HALF_UP.
[Bug #12958] [ruby-core:78204]
* test/ruby/test_integer.rb: fix assertions for the above change.
* test/ruby/test_rational.rb: ditto.
* test/test_mathn.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
0 files changed, 0 insertions, 0 deletions