Skip to content

HarmonicLabs/bigint-utils

Repository files navigation

@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;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published