Home Online Manual
Top
Back: intPart
Forward: squareRoot
FastBack: atkins_lib
FastForward: hyperel_lib
Up: crypto_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.3.10 intRoot

Procedure from library crypto.lib (see crypto_lib).

Usage:
intRoot(m);

Return:
the integral part of the square root of m

Example:
 
LIB "crypto.lib";
intRoot(20);
==> 4