From 81b1fef56c864d3c0f9e654861f4a0826e33af24 Mon Sep 17 00:00:00 2001 From: tadf Date: Sat, 18 Oct 2008 22:43:06 +0000 Subject: [PATCH] * lib/cmath.rb (log2,cbrt,frexp,ldexp,hypot,erf,erfc,gamma,lgamma): should be also privided as module function. [ruby-dev:36787] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/cmath.rb | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/ChangeLog b/ChangeLog index e07127f3e0..d43b824ee9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sun Oct 19 07:37:13 2008 Tadayoshi Funaba + + * lib/cmath.rb (log2,cbrt,frexp,ldexp,hypot,erf,erfc,gamma,lgamma): + should be also privided as module function. [ruby-dev:36787] + Sun Oct 19 07:25:08 2008 Yuki Sonoda (Yugui) * keywords, lex.c.src, opt_insn_unif.def, opt_operand.def: moved rarely changed diff --git a/lib/cmath.rb b/lib/cmath.rb index d293401804..00bcc9087f 100644 --- a/lib/cmath.rb +++ b/lib/cmath.rb @@ -220,4 +220,14 @@ module CMath module_function :atanh! module_function :atanh + module_function :log2 + module_function :cbrt + module_function :frexp + module_function :ldexp + module_function :hypot + module_function :erf + module_function :erfc + module_function :gamma + module_function :lgamma + end