UNPKG
@starkdefi/core-sdk
Version:
latest (2.1.1)
2.1.1
2.0.0
1.2.0
1.1.0
1.0.1
1.0.0
SDK for building StarkDefi applications
Starkdefi/core-sdk
@starkdefi/core-sdk
/
dist
/
utils
/
sqrt.d.ts
7 lines
(6 loc)
•
222 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
declare
const
MAX_SAFE_INTEGER
:
bigint
;
/** * Computes floor(sqrt(value)) *
@param
value the value for which to compute the square root, rounded down */
export
declare
function
sqrt
(
value
:
bigint
):
bigint
;