![]() |
| サイトマップ | |
|
関数 log
は、指定範囲の各数値について、底を 10 とする常用対数の値または範囲としての値を返します。
log
(numbers)
引数 numbers には、スカラーまたは範囲として与えられた数値を指定します。引数 numbers に含まれる欠損値や文字列は無視され、文字列や欠損値として返されます。
log
(x) に対して:log(100)
は、値 2 を返します。The log function returns a value or range of values consisting of the base 10 logarithm of each number in the specified range.
log(numbers)
The numbers argument can be a scalar or range of numbers. Any missing value or text string contained within a range is ignored and returned as the string or missing value.
For log(x):
x < 0 returns an error message,
x = 0 returns -∞
The largest value allowed is approximately x < 10309.
The operation log(100) returns a value of 2.