UltraMath |
対数関数 |
最終更新日:2006/04/07 |
●概要
対数を求める。オペランドは、オーバーロードにより、全ての型が使用できる。
●関数仕様
○自然対数(間接法)
定数Ln10 を使って求める。
・Ln(ByRef A As Long) As UltraLong
・Ln(ByRef A As UltraLong) As UltraLong
・Ln(ByRef A As Object) As UltraLong
Ln(A) を返す。
○自然対数(直接法)
級数展開にて直接求める。
・LnDirect(ByRef A As Long) As UltraLong
・LnDirect(ByRef A As UltraLong) As UltraLong
・LnDirect(ByRef A As Object) As UltraLong
Ln(A) を返す。
○常用対数
・Log(ByRef A As Long) As UltraLong
・Log(ByRef A As UltraLong) As UltraLong
・Log(ByRef A As Object) As UltraLong
Log(A) を返す。
○任意対数
・Log(ByRef A As UltraLong, ByRef B As Long)
As UltraLong
・Log(ByRef A As UltraLong, ByRef B As UltraLong)
As UltraLong
・Log(ByRef A As Object, ByRef B As Object) As
UltraLong
LogA(B) を返す。A, B > 0 の実数。
|