diff --git a/ChangeLog b/ChangeLog index 1b661462a7..aab88e3531 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Fri Sep 9 21:56:40 2011 Ayumu AIZAWA + + * ext/bigdecimal/bigdecimal.c (BigDecimal_abs): Fix comment. + BigDecimal#sqrt requires argument. Reported by Makoto Kishimoto. + Thanks for your contribution. [Bug #5267] [ruby-dev:44452] + Fri Sep 9 11:00:55 2011 Shota Fukumori * test/rubygems/test_gem_commands_help_command.rb: Add one diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c index 86070af3cb..e70406a0cf 100644 --- a/ext/bigdecimal/bigdecimal.c +++ b/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)