@stdlib/constants-uint32-max

Maximum unsigned 32-bit integer.

Usage no npm install needed!

<script type="module">
  import stdlibConstantsUint32Max from 'https://cdn.skypack.dev/@stdlib/constants-uint32-max';
</script>

README

Max Uint32

NPM version Build Status Coverage Status

Maximum unsigned 32-bit integer.

Installation

npm install @stdlib/constants-uint32-max

Usage

var UINT32_MAX = require( '@stdlib/constants-uint32-max' );

UINT32_MAX

Maximum unsigned 32-bit integer.

var bool = ( UINT32_MAX === 4294967295 );
// returns true

Notes

  • UINT32_MAX is the maximum array length.

Examples

var UINT32_MAX = require( '@stdlib/constants-uint32-max' );

console.log( UINT32_MAX );
// => 4294967295

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-2022. The Stdlib Authors.