LN2

Natural logarithm of 2.

Usage

var LN2 = require( '@stdlib/constants/float64/ln-two' );

LN2

Natural logarithm of 2.

var bool = ( LN2 === 0.6931471805599453 );
// returns true

Examples

var LN2 = require( '@stdlib/constants/float64/ln-two' );

console.log( LN2 );
// => 0.6931471805599453

C APIs

Usage

#include "stdlib/constants/float64/ln_two.h"

STDLIB_CONSTANT_FLOAT64_LN2

Macro for the natural logarithm of 2.

Did you find this page helpful?