FLOAT32_LN_HALF

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

Usage

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

FLOAT32_LN_HALF

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

var bool = ( FLOAT32_LN_HALF === -0.6931471824645996 );
// returns true

Examples

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

console.log( FLOAT32_LN_HALF );
// => -0.6931471824645996

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT32_LN_HALF

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

Did you find this page helpful?