diff options
author | BurdetteLamar <BurdetteLamar@Yahoo.com> | 2021-11-12 09:27:52 -0600 |
---|---|---|
committer | Kenta Murata <mrkn@mrkn.jp> | 2021-12-24 02:28:54 +0900 |
commit | ed8ec5dcb3f7fec60cb7fa38a3f1135d50d3bcde (patch) | |
tree | 43c9036bb63b95be3973cef6062613d871b708ea /ext/bigdecimal | |
parent | 44acab76afc46c9276670a47aa0d2813f6d115e4 (diff) | |
download | ruby-ed8ec5dcb3f7fec60cb7fa38a3f1135d50d3bcde.tar.gz |
[ruby/bigdecimal] Respond to review
https://github.com/ruby/bigdecimal/commit/4eadcdf0a6
Diffstat (limited to 'ext/bigdecimal')
-rw-r--r-- | ext/bigdecimal/bigdecimal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index ffa705dada..e7eb7e4b3d 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -733,10 +733,10 @@ check_rounding_mode(VALUE const v) * Aliased as +:up+. * - +ROUND_DOWN+: Round toward zero. * Aliased as +:down+ and +:truncate+. - * - +ROUND_HALF_UP+: Round toward the nearer neighbor; + * - +ROUND_HALF_UP+: Round toward the nearest neighbor; * if the neighbors are equidistant, round away from zero. * Aliased as +:half_up+ and +:default+. - * - +ROUND_HALF_DOWN+: Round toward the nearer neighbor; + * - +ROUND_HALF_DOWN+: Round toward the nearest neighbor; * if the neighbors are equidistant, round toward from zero. * Aliased as +:half_down+. * - +ROUND_HALF_EVEN+ (Banker's rounding): Round toward the nearest neighbor; |