ruby-changes:70468
From: BurdetteLamar <ko1@a...>
Date: Fri, 24 Dec 2021 02:29:56 +0900 (JST)
Subject: [ruby-changes:70468] 44acab76af (master): [ruby/bigdecimal] Respond to review
https://git.ruby-lang.org/ruby.git/commit/?id=44acab76af From 44acab76afc46c9276670a47aa0d2813f6d115e4 Mon Sep 17 00:00:00 2001 From: BurdetteLamar <BurdetteLamar@Y...> Date: Fri, 12 Nov 2021 09:14:09 -0600 Subject: [ruby/bigdecimal] Respond to review https://github.com/ruby/bigdecimal/commit/6d69422e37 --- ext/bigdecimal/bigdecimal.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index 68cb31d24b7..ffa705dada4 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/ext/bigdecimal/bigdecimal.c @@ -292,7 +292,7 @@ BigDecimal_double_fig(VALUE self) https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L292 /* call-seq: * precs -> array * - * Returns an array of two integer values that represent platform-dependent + * Returns an Array of two Integer values that represent platform-dependent * internal storage properties. * * This method is deprecated and will be removed in the future. @@ -624,7 +624,8 @@ check_rounding_mode(VALUE const v) https://github.com/ruby/ruby/blob/trunk/ext/bigdecimal/bigdecimal.c#L624 * * Mode \BigDecimal::EXCEPTION_NaN controls behavior * when a \BigDecimal NaN is created. - * Settings" + * + * Settings: * * - +false+ (default): Returns <tt>BigDecimal('NaN')</tt>. * - +true+: Raises FloatDomainError. -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/