@stdlib/constants-float64-smallest-subnormal
v0.2.2
Published
Smallest positive double-precision floating-point number.
Downloads
130,450
Readme
FLOAT64_SMALLEST_SUBNORMAL
Smallest positive denormalized double-precision floating-point number.
Installation
npm install @stdlib/constants-float64-smallest-subnormal
Usage
var FLOAT64_SMALLEST_SUBNORMAL = require( '@stdlib/constants-float64-smallest-subnormal' );
FLOAT64_SMALLEST_SUBNORMAL
Smallest positive denormalized double-precision floating-point number.
var bool = ( FLOAT64_SMALLEST_SUBNORMAL === 4.940656458412465e-324 );
// returns true
Examples
var FLOAT64_SMALLEST_SUBNORMAL = require( '@stdlib/constants-float64-smallest-subnormal' );
console.log( FLOAT64_SMALLEST_SUBNORMAL );
// => ~4.94e-324
C APIs
Usage
#include "stdlib/constants/float64/smallest_subnormal.h"
STDLIB_CONSTANT_FLOAT64_SMALLEST_SUBNORMAL
Macro for the smallest positive denormalized double-precision floating-point number.
See Also
@stdlib/constants-float32/smallest-subnormal
: smallest positive single-precision floating-point subnormal number.@stdlib/constants-float64/smallest-normal
: smallest positive double-precision floating-point normal 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.