Files
calc/help/isqrt
2017-05-21 15:38:25 -07:00

27 lines
391 B
Plaintext

NAME
isqrt - integer part of square root
SYNOPSIS
isqrt(x)
TYPES
x nonnegative real
return nonnegative real
DESCRIPTION
Return the greatest integer n for which n^2 <= x.
EXAMPLE
> print isqrt(8.5), isqrt(200), isqrt(2e6), isqrt(2e56)
2 14 1414 14142135623730950488016887242
LIMITS
x > 0
LIBRARY
NUMBER *qisqrt(NUMBER *x)
SEE ALSO
sqrt, iroot