@harmoniclabs/bigint-utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@harmoniclabs/bigint-utils

exported functions

function abs(n: bigint): bigint;
function random(): bigint;
function max(...nums: bigint[]): bigint;
function min(...nums: bigint[]): bigint;
function log2(num: bigint): bigint;
function bigintFromBufferLE(buffer: Uint8Array): bigint;
function bigintFromBuffer(buffer: Uint8Array): bigint;
function bigintToBuffer(bigint: bigint, nBytes?: number | undefined): Uint8Array;

Readme

Keywords

none

Package Sidebar

Install

npm i @harmoniclabs/bigint-utils

Weekly Downloads

170

Version

1.0.0

License

Apache-2.0

Unpacked Size

8.48 kB

Total Files

6

Last publish

Collaborators

  • harmonicpool