@stdlib/constants-float64-max-base2-exponent
v0.2.2
Published
The maximum biased base 2 exponent for a double-precision floating-point number.
Downloads
1,488,633
Readme
FLOAT64_MAX_BASE2_EXPONENT
The maximum biased base 2 exponent for a double-precision floating-point number.
Installation
npm install @stdlib/constants-float64-max-base2-exponent
Usage
var FLOAT64_MAX_BASE2_EXPONENT = require( '@stdlib/constants-float64-max-base2-exponent' );
FLOAT64_MAX_BASE2_EXPONENT
The maximum biased base 2 exponent for a double-precision floating-point number.
var bool = ( FLOAT64_MAX_BASE2_EXPONENT === 1023 );
// returns true
Examples
var FLOAT64_MAX_BASE2_EXPONENT = require( '@stdlib/constants-float64-max-base2-exponent' );
console.log( FLOAT64_MAX_BASE2_EXPONENT );
// => 1023
C APIs
Usage
#include "stdlib/constants/float64/max_base2_exponent.h"
STDLIB_CONSTANT_FLOAT64_MAX_BASE2_EXPONENT
Macro for the maximum biased base 2 exponent for a double-precision floating-point number.
See Also
@stdlib/constants-float64/max-base10-exponent
: the maximum base 10 exponent for a double-precision floating-point number.@stdlib/constants-float64/max-base2-exponent-subnormal
: the maximum biased base 2 exponent for a subnormal double-precision floating-point number.@stdlib/constants-float64/min-base2-exponent
: the minimum biased base 2 exponent for a normal double-precision floating-point number.
Notice
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
Community
License
See LICENSE.
Copyright
Copyright © 2016-2024. The Stdlib Authors.