[前][次][番号順一覧][スレッド一覧]

ruby-changes:70470

From: BurdetteLamar <ko1@a...>
Date: Fri, 24 Dec 2021 02:29:58 +0900 (JST)
Subject: [ruby-changes:70470] ed8ec5dcb3 (master): [ruby/bigdecimal] Respond to review

https://git.ruby-lang.org/ruby.git/commit/?id=ed8ec5dcb3

From ed8ec5dcb3f7fec60cb7fa38a3f1135d50d3bcde Mon Sep 17 00:00:00 2001
From: BurdetteLamar <BurdetteLamar@Y...>
Date: Fri, 12 Nov 2021 09:27:52 -0600
Subject: [ruby/bigdecimal] Respond to review

https://github.com/ruby/bigdecimal/commit/4eadcdf0a6
---
 ext/bigdecimal/bigdecimal.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index ffa705dada4..e7eb7e4b3df 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -733,10 +733,10 @@ check_rounding_mode(VALUE const v) https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L733
  *    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;
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]