Math.LOG10E - 10を底とした定数eの対数(約0.43429)
Math.LOG10Eは10を底とした定数eの対数を返す静的プロパティです。値は約0.43429です。
概要
- 名前
- LOG10E
- 所属
- Math
- Writable
- no
- Enumerable
- no
- Configurable
- no
- 仕様書
- https://tc39.github.io/ecma262/#sec-math.log10e
デモ
Math.LOG10Eのデモです。
<!-- このコードは編集できます。 -->
<!DOCTYPE html>
<html>
<head>
<style>
body {
white-space: pre-wrap ;
}
</style>
</head>
<body>
<script>
/** try it! **/
var a = Math.LOG10E ;
/** try it! **/
var results = { a:a, } ;
for( var name in results ) {
console.log( name, results[name] ) ;
document.body.appendChild( new Text( name + " = " + results[name] + "\n" ) ) ;
}
</script>
</body>
</html>
サポート状況
Chrome | Firefox | Safari | Edge | IE | Opera | iOS Safari | Android |
---|---|---|---|---|---|---|---|
● | ● | ● | ● | ● | ● | ● | ● |
関連記事
- Math.LN10
- Math.LN10は、数学定数のlog(e)10、10の自然対数(約2.30258)を返す静的プロパティです。
- Math.log10()
- Math.log10()は、10を底とした対数を計算するメソッドです。
- ラジアンから度に変換する
- ラジアン(弧度法)から度(度数法)に変換します。
- Math.LOG2E
- Math.LOG2Eは2を底とした定数eの対数をを返す静的プロパティです。値は約1.442695です。