FLOAT32_HALF_LN2

One half times the natural logarithm of 2 as a single-precision floating-point number.

Usage

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

FLOAT32_HALF_LN2

One half times the natural logarithm of 2 as a single-precision floating-point number.

var bool = ( FLOAT32_HALF_LN2 === 0.3465735912322998 );
// returns true

Examples

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

console.log( FLOAT32_HALF_LN2 );
// => 0.3465735912322998

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT32_HALF_LN2

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

Did you find this page helpful?