time-to-botec/squiggle/node_modules/@stdlib/constants/int8/README.md

92 lines
2.2 KiB
Markdown
Raw Normal View History

<!--
@license Apache-2.0
Copyright (c) 2021 The Stdlib Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
# Constants
> 8-bit signed integer mathematical constants.
<section class="usage">
## Usage
```javascript
var constants = require( '@stdlib/constants/int8' );
```
#### constants
8-bit signed integer mathematical constants.
```javascript
var c = constants;
// returns {...}
```
<!-- <toc pattern="*" > -->
<div class="namespace-toc">
- <span class="signature">[`MAX`][@stdlib/constants/int8/max]</span><span class="delimiter">: </span><span class="description">maximum signed 8-bit integer.</span>
- <span class="signature">[`MIN`][@stdlib/constants/int8/min]</span><span class="delimiter">: </span><span class="description">minimum signed 8-bit integer.</span>
- <span class="signature">[`NUM_BYTES`][@stdlib/constants/int8/num-bytes]</span><span class="delimiter">: </span><span class="description">size (in bytes) of an 8-bit signed integer.</span>
</div>
<!-- </toc> -->
</section>
<!-- /.usage -->
<section class="examples">
## Examples
<!-- TODO: better examples -->
<!-- eslint no-undef: "error" -->
```javascript
var objectKeys = require( '@stdlib/utils/keys' );
var constants = require( '@stdlib/constants/int8' );
console.log( objectKeys( constants ) );
```
</section>
<!-- /.examples -->
<section class="links">
<!-- <toc-links> -->
[@stdlib/constants/int8/max]: https://www.npmjs.com/package/@stdlib/constants/tree/main/int8/max
[@stdlib/constants/int8/min]: https://www.npmjs.com/package/@stdlib/constants/tree/main/int8/min
[@stdlib/constants/int8/num-bytes]: https://www.npmjs.com/package/@stdlib/constants/tree/main/int8/num-bytes
<!-- </toc-links> -->
</section>
<!-- /.links -->