最速Rubyリファレンスマニュアル検索!
すべて(102)
2.1.0(11)
2.2.0(11)
2.3.0(11)
2.4.0(11)
2.5.0(11)
2.6.0(11)
2.7.0(6)
3.0(6)
3.1(6)
3.2(6)
3.3(6)
3.4(6)
102件ヒット
[101-102件を表示]
(0.041秒)
トップページ
>
:
ruby
>
:
モジュール関数
>
:Complex
別のキーワード
rbconfig ruby
fiddle ruby_free
fiddle build_ruby_platform
rake ruby
rubygems/defaults ruby_engine
ライブラリ
ビルトイン
(36)
bigdecimal
(12)
cmath
(30)
fileutils
(24)
モジュール
BigMath
(12)
CMath
(30)
FileUtils
(24)
Kernel
(36)
キーワード
Rational
(12)
cbrt
(6)
copy
(12)
cp
(12)
exp
(6)
log
(24)
sqrt
(6)
検索結果
先頭1件
BigMath
.
#
log(x
,
prec) -> BigDecimal
<<
<
1
2
>>
BigMath
.
#
log(x
,
prec) -> BigDecimal
(13.0)
2.3.0
3.0
モジュール関数
x の自然対数を prec で指定した精度で計算します。
...
e Math::DomainError x に 0 以下の数値か
Complex
オブジェクト
が指定された場合に発生します。
@raise ArgumentError prec に 0 以下の数値が指定された場合に発生します。
//emlist[][
ruby
]{
require "bigdecimal/math"
puts BigMath::l
...
BigMath
Complex
Float
Integer
<<
<
1
2
>>