Actions
Bug #5267
closedBigDecimal#sqrt の rdoc で、引数は必須
Description
ソース中の rdoc の記述では、BigDecimal#sqrt の引数は必須でないように
読めるが、必須なのでそのように。
diff --git ext/bigdecimal/bigdecimal.c ext/bigdecimal/bigdecimal.c
index 86070af..e70406a 100644
--- ext/bigdecimal/bigdecimal.c
+++ ext/bigdecimal/bigdecimal.c
@@ -1439,7 +1439,7 @@ BigDecimal_abs(VALUE self)
*
- Returns the square root of the value.
-
- If n is specified, returns at least that many significant digits.
-
- Result has at least n significant digits.
*/
static VALUE
BigDecimal_sqrt(VALUE self, VALUE nFig)
- Result has at least n significant digits.
Actions
Like0
Like0