@stdlib/number-uint16-base
v0.2.2
Published
Base utilities for unsigned 16-bit integers.
Downloads
19
Readme
Uint16
Base utilities for unsigned 16-bit integers.
Installation
npm install @stdlib/number-uint16-base
Usage
var ns = require( '@stdlib/number-uint16-base' );
ns
Base utilities for unsigned 16-bit integers.
var o = ns;
// returns {...}
fromBinaryStringUint16( bstr )
: create an unsigned 16-bit integer from a literal bit representation.toBinaryStringUint16( x )
: return a string giving the literal bit representation of an unsigned 16-bit integer.
Examples
var objectKeys = require( '@stdlib/utils-keys' );
var ns = require( '@stdlib/number-uint16-base' );
console.log( objectKeys( ns ) );
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.