@hugoalh/is-numeric-prime
Version:
A module to determine whether the numeric is prime.
12 lines • 489 B
TypeScript
export interface BigIntRootApproximateResult {
ceil: bigint;
floor: bigint;
}
/**
* Return the root of the big integer, approximate. From https://stackoverflow.com/a/64190462.
* @param {bigint} radicand Radicand.
* @param {bigint} [index=2n] Index.
* @returns {BigIntRootApproximateResult} Root, approximate.
*/
export declare function bigintRootApproximate(radicand: bigint, index?: bigint): BigIntRootApproximateResult;
//# sourceMappingURL=_bigint_root_approximate.d.ts.map