mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-06-19 05:21:03 +00:00
chore: update to version 14.0.11 and align website URLs
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
import type { ToBn } from '../types.js';
|
||||
import { BN } from './bn.js';
|
||||
/**
|
||||
* @name bnSqrt
|
||||
* @summary Calculates the integer square root of a BN
|
||||
* @example
|
||||
* <BR>
|
||||
*
|
||||
* ```javascript
|
||||
* import BN from 'bn.js';
|
||||
* import { bnSqrt } from '@pezkuwi/util';
|
||||
*
|
||||
* bnSqrt(new BN(16)).toString(); // => '4'
|
||||
* ```
|
||||
*/
|
||||
export declare function bnSqrt<ExtToBn extends ToBn>(value: ExtToBn | BN | bigint | string | number | null): BN;
|
||||
Reference in New Issue
Block a user