From 697b53d8a96db8ad797baa5fca37d6cec5d7ca9d Mon Sep 17 00:00:00 2001 From: naruse Date: Mon, 5 Mar 2012 02:53:36 +0000 Subject: [PATCH] * ext/bigdecimal/lib/bigdecimal/math.rb: remove description about BigMath#log. patched by Sho Hashimoto [ruby-dev:45307] [Bug #6112] * string.c (str_byteslice): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ ext/bigdecimal/lib/bigdecimal/math.rb | 1 - string.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 05bb688308..d3b20624c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Mon Mar 5 11:51:48 2012 NARUSE, Yui + + * ext/bigdecimal/lib/bigdecimal/math.rb: remove description about + BigMath#log. patched by Sho Hashimoto [ruby-dev:45307] [Bug #6112] + + * string.c (str_byteslice): fix typo. + Sun Mar 4 23:21:10 2012 Nobuyoshi Nakada * parse.y (parser_tokadd_string): regexp engine doesn't need diff --git a/ext/bigdecimal/lib/bigdecimal/math.rb b/ext/bigdecimal/lib/bigdecimal/math.rb index 03c59bfccb..16cf9c8731 100644 --- a/ext/bigdecimal/lib/bigdecimal/math.rb +++ b/ext/bigdecimal/lib/bigdecimal/math.rb @@ -7,7 +7,6 @@ require 'bigdecimal' # sin (x, prec) # cos (x, prec) # atan(x, prec) Note: |x|<1, x=0.9999 may not converge. -# log (x, prec) # PI (prec) # E (prec) == exp(1.0,prec) # diff --git a/string.c b/string.c index d53c3b4f34..dd4e3674b0 100644 --- a/string.c +++ b/string.c @@ -4111,7 +4111,7 @@ str_byte_aref(VALUE str, VALUE indx) * "hello".byteslice(-1) #=> "o" * "hello".byteslice(1, 2) #=> "el" * "\x80\u3042".byteslice(1, 3) #=> "\u3042" - * "\x03\u3042\xff".byteslice(1..3) #=> "\u3942" + * "\x03\u3042\xff".byteslice(1..3) #=> "\u3042" */ static VALUE