Skip to content

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

License

Notifications You must be signed in to change notification settings

stdlib-js/constants-float64-precision

Repository files navigation

FLOAT64_PRECISION

NPM version Build Status Coverage Status

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

Installation

npm install @stdlib/constants-float64-precision

Alternatively,

The branches.md file summarizes the available branches and displays a diagram illustrating their relationships.

Usage

var FLOAT64_PRECISION = require( '@stdlib/constants-float64-precision' );

FLOAT64_PRECISION

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

var bool = ( FLOAT64_PRECISION === 53 ); // including implicit bit
// returns true

Examples

var FLOAT64_PRECISION = require( '@stdlib/constants-float64-precision' );

console.log( FLOAT64_PRECISION );
// => 53

C APIs

Usage

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

STDLIB_CONSTANT_FLOAT64_PRECISION

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


See Also


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

Chat


License

See LICENSE.

Copyright

Copyright © 2016-2023. The Stdlib Authors.