@stdlib/constants-float16-max-base10-exponent
v0.1.1
Published
The maximum base 10 exponent for a half-precision floating-point number.
Readme
FLOAT16_MAX_BASE10_EXPONENT
The maximum base 10 exponent for a half-precision floating-point number.
Installation
npm install @stdlib/constants-float16-max-base10-exponentUsage
var FLOAT16_MAX_BASE10_EXPONENT = require( '@stdlib/constants-float16-max-base10-exponent' );FLOAT16_MAX_BASE10_EXPONENT
The maximum base 10 exponent for a half-precision floating-point number.
var bool = ( FLOAT16_MAX_BASE10_EXPONENT === 4 );
// returns trueExamples
var FLOAT16_MAX_BASE10_EXPONENT = require( '@stdlib/constants-float16-max-base10-exponent' );
console.log( FLOAT16_MAX_BASE10_EXPONENT );
// => 4C APIs
Usage
#include "stdlib/constants/float16/max_base10_exponent.h"STDLIB_CONSTANT_FLOAT16_MAX_BASE10_EXPONENT
Macro for the maximum base 10 exponent for a half-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-2026. The Stdlib Authors.
