Keil Logo

__log

概要
double __log (
  double val);   /* value to take natural logarithm of */
説明

__log デバッガ関数は、浮動小数点数 val の自然対数を計算します。対数とは、val と等しくなるまで底(自然対数の場合 e または 2.718282...)を乗算しなければならない指数のことです。つまり、以下のようになります。

loge ex = val

戻り値

__log 関数は、val の浮動小数点自然対数を返します。

関連項目

__exp__log10

> __log(3.3);
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.