@tempots/std

biAbs() function

Returns the absolute value of a bigint.

Signature:

biAbs: (x: bigint) => bigint

Parameters

Parameter

Type

Description

x

bigint

The bigint to compute the absolute value of.

Returns: bigint

The absolute value of x.