FLOAT32_LN2

Natural logarithm of 2 as a single-precision floating-point number.

Usage

var FLOAT32_LN2 = require( '@stdlib/constants/float32/ln-two' );

FLOAT32_LN2

Natural logarithm of 2 as a single-precision floating-point number.

var bool = ( FLOAT32_LN2 === 0.6931471824645996 );
// returns true

Examples

var FLOAT32_LN2 = require( '@stdlib/constants/float32/ln-two' );

console.log( FLOAT32_LN2 );
// => 0.6931471824645996

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT32_LN2

Macro for the natural logarithm of 2 as a single-precision floating-point number.

Did you find this page helpful?