@tempots/std

biLcm() function

Calculates the least common multiple (LCM) of two BigInt numbers.

Signature:

biLcm: (x: bigint, y: bigint) => bigint

Parameters

Parameter

Type

Description

x

bigint

The first BigInt number.

y

bigint

The second BigInt number.

Returns: bigint

The least common multiple of x and y.