TU-Berlin → Inst. f. Mathematik → Algebra und Zahlentheorie → KASH → Documentation → Reference Manual
KASH3 Reference Manual
search    

Function

IsSquare ( elt-ord^rat x ) -> elt-alg^boo, elt-ord^rat

Optional Arguments

Resultselt-ord^rat1 <= Results <= 2

Description

True iff the integer x is the square of an integer; if true, the square root of x is also returned.

Examples

IsSquare(9);
IsSquare(2);
Built: Mon Nov 14 21:12:39 UTC 2005 on mack
The KANT Group