@stdlib/constants-float32-num-significand-bits
v0.1.0
Published
Number of significand bits for a single-precision floating-point number.
Readme
FLOAT32_NUM_SIGNIFICAND_BITS
Number of significand bits for a single-precision floating-point number.
Installation
npm install @stdlib/constants-float32-num-significand-bitsUsage
var FLOAT32_NUM_SIGNIFICAND_BITS = require( '@stdlib/constants-float32-num-significand-bits' );FLOAT32_NUM_SIGNIFICAND_BITS
Number of significand bits for a single-precision floating-point number.
var bool = ( FLOAT32_NUM_SIGNIFICAND_BITS === 23 );
// returns trueExamples
var FLOAT32_NUM_SIGNIFICAND_BITS = require( '@stdlib/constants-float32-num-significand-bits' );
console.log( FLOAT32_NUM_SIGNIFICAND_BITS );
// => 23C APIs
Usage
#include "stdlib/constants/float32/num_significand_bits.h"STDLIB_CONSTANT_FLOAT32_NUM_SIGNIFICAND_BITS
Macro for the number of significand bits for a single-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.
