diff options
author | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-26 00:14:18 +0000 |
---|---|---|
committer | mrkn <mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-26 00:14:18 +0000 |
commit | 3dc6edf793c33483c9d7365b865152d57fa994fb (patch) | |
tree | 67d247e6b5793b621ce9e5768990fe883904105d /ChangeLog | |
parent | 8554e163557a4f32f6e9427146d594df31ac024a (diff) | |
download | ruby-3dc6edf793c33483c9d7365b865152d57fa994fb.tar.gz |
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal, rmpd_set_thread_local_exception_mode, VpGetException, VpSetException): thread-local exception mode.
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal, rmpd_set_thread_local_precision_limit, VpGetPrecLimit, VpSetPrecLimit): thread-local precision limit.
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal, rmpd_set_thread_local_rounding_mode, VpGetRoundMode, VpSetRoundMode, VpException, VpInternalRound): thread-local rounding mode.
* ext/bigdecimal/bigdecimal.c (BigDecimal_mode, BigDecimal_round, VpIsRoundMode, VpGetRoundMode, VpSetRoundMode, VpActiveRound, VpMidRound, VpLeftRound), ext/bigdecimal/bigdecimal.h: use unsigned short for rounding mode.
* test/bigdecimal/test_bigdecimal.rb (test_mode): add test for setting rounding mode.
* test/bigdecimal/test_bigdecimal.rb (test_thread_local_mode): add test for setting mode thread-locally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -1,3 +1,29 @@ +Tue Aug 26 09:11:40 2010 Kenta Murata <mrkn@mrkn.jp> + + * ext/bigdecimal/bigdecimal.c (Init_bigdecimal, + rmpd_set_thread_local_exception_mode, VpGetException, + VpSetException): thread-local exception mode. + + * ext/bigdecimal/bigdecimal.c (Init_bigdecimal, + rmpd_set_thread_local_precision_limit, VpGetPrecLimit, + VpSetPrecLimit): thread-local precision limit. + + * ext/bigdecimal/bigdecimal.c (Init_bigdecimal, + rmpd_set_thread_local_rounding_mode, VpGetRoundMode, + VpSetRoundMode, VpException, VpInternalRound): + thread-local rounding mode. + + * ext/bigdecimal/bigdecimal.c (BigDecimal_mode, BigDecimal_round, + VpIsRoundMode, VpGetRoundMode, VpSetRoundMode, VpActiveRound, + VpMidRound, VpLeftRound), ext/bigdecimal/bigdecimal.h: + use unsigned short for rounding mode. + + * test/bigdecimal/test_bigdecimal.rb (test_mode): add test for + setting rounding mode. + + * test/bigdecimal/test_bigdecimal.rb (test_thread_local_mode): + add test for setting mode thread-locally. + Thu Aug 26 07:29:54 2010 Nobuyoshi Nakada <nobu@ruby-lang.org> * array.c (rb_ary_{shuffle_bang,sample}): use Random class object. |