Next Previous Up Top Contents Index

7.2 The Transcendentals module

isqrt

G.f. method

Summary

Returns the integer square root of its argument.

Signature

isqrt x => y 

Arguments

x
An instance of type <integer>.

Values

y
An instance of type <integer>.

Library

common-extensions

Module

transcendentals

Description

Returns the integer square root of x, that is the greatest integer less than or equal to the exact positive square root of x. If x < 0, an error is signalled.

See also

See the function sqrt, page 179.


Common Dylan and Functional Extensions - 31 Mar 00

Next Previous Up Top Contents Index