FLOAT32_MAX_BASE2_EXPONENT

The maximum biased base 2 exponent for a single-precision floating-point number.

Usage

var FLOAT32_MAX_BASE2_EXPONENT = require( '@stdlib/constants/float32/max-base2-exponent' );

FLOAT32_MAX_BASE2_EXPONENT

The maximum biased base 2 exponent for a single-precision floating-point number.

var bool = ( FLOAT32_MAX_BASE2_EXPONENT === 127 );
// returns true

Examples

var FLOAT32_MAX_BASE2_EXPONENT = require( '@stdlib/constants/float32/max-base2-exponent' );

console.log( FLOAT32_MAX_BASE2_EXPONENT );
// => 127

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT32_MAX_BASE2_EXPONENT

Macro for the maximum biased base 2 exponent for a single-precision floating-point number.

Did you find this page helpful?