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

ruby-changes:70476

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

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

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

https://github.com/ruby/bigdecimal/commit/f528a0006e
---
 ext/bigdecimal/bigdecimal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index e7eb7e4b3df..8a107386a4a 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -737,7 +737,7 @@ check_rounding_mode(VALUE const v) https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L737
  *    if the neighbors are equidistant, round away from zero.
  *    Aliased as +:half_up+ and +:default+.
  *  - +ROUND_HALF_DOWN+: Round toward the nearest neighbor;
- *    if the neighbors are equidistant, round toward from zero.
+ *    if the neighbors are equidistant, round toward zero.
  *    Aliased as +:half_down+.
  *  - +ROUND_HALF_EVEN+ (Banker's rounding): Round toward the nearest neighbor;
  *    if the neighbors are equidistant, round toward the even neighbor.
-- 
cgit v1.2.1


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

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