FLOAT32_PRECISION

Effective number of bits in the significand of a single-precision floating-point number.

Usage

var FLOAT32_PRECISION = require( '@stdlib/constants/float32/precision' );

FLOAT32_PRECISION

Effective number of bits in the significand of a single-precision floating-point number.

var bool = ( FLOAT32_PRECISION === 24 ); // including implicit bit
// returns true

Examples

var FLOAT32_PRECISION = require( '@stdlib/constants/float32/precision' );

console.log( FLOAT32_PRECISION );
// => 24

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT32_PRECISION

Macro for the effective number of bits in the significand of a single-precision floating-point number.

Did you find this page helpful?