@stdlib/constants-float32-smallest-subnormal
v0.2.2
Published
Smallest positive single-precision floating-point subnormal number.
Downloads
660
Readme
FLOAT32_SMALLEST_SUBNORMAL
Smallest positive denormalized single-precision floating-point number.
Installation
npm install @stdlib/constants-float32-smallest-subnormal
Usage
var FLOAT32_SMALLEST_SUBNORMAL = require( '@stdlib/constants-float32-smallest-subnormal' );
FLOAT32_SMALLEST_SUBNORMAL
Smallest positive denormalized single-precision floating-point number.
var bool = ( FLOAT32_SMALLEST_SUBNORMAL === 1.401298464324817e-45 );
// returns true
Examples
var FLOAT32_SMALLEST_SUBNORMAL = require( '@stdlib/constants-float32-smallest-subnormal' );
console.log( FLOAT32_SMALLEST_SUBNORMAL );
// => 1.401298464324817e-45
C APIs
Usage
#include "stdlib/constants/float32/smallest_subnormal.h"
STDLIB_CONSTANT_FLOAT32_SMALLEST_SUBNORMAL
Macro for the smallest positive denormalized single-precision floating-point number.
See Also
@stdlib/constants-float32/smallest-normal
: smallest positive normalized single-precision floating-point number.@stdlib/constants-float64/smallest-subnormal
: smallest positive 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.