@stdlib/constants-int32-max

Maximum signed 32-bit integer.

Usage no npm install needed!

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

README

Max Int32

NPM version Build Status Coverage Status

Maximum signed 32-bit integer.

Installation

npm install @stdlib/constants-int32-max

Usage

var INT32_MAX = require( '@stdlib/constants-int32-max' );

INT32_MAX

Maximum signed 32-bit integer.

var bool = ( INT32_MAX === 2147483647 );
// returns true

Examples

var INT32_MAX = require( '@stdlib/constants-int32-max' );

console.log( INT32_MAX );
// => 2147483647

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.