зеркало из https://github.com/github/ruby.git
* 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
This commit is contained in:
Родитель
c2091e37ec
Коммит
81b1fef56c
|
@ -1,3 +1,8 @@
|
|||
Sun Oct 19 07:37:13 2008 Tadayoshi Funaba <tadf@dotrb.org>
|
||||
|
||||
* 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) <yugui@yugui.jp>
|
||||
|
||||
* keywords, lex.c.src, opt_insn_unif.def, opt_operand.def: moved rarely changed
|
||||
|
|
10
lib/cmath.rb
10
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче