NAME
-
sqr - square root
SYNOPSIS
-
double sqr(x)
double x;
DESCRIPTION
-
Sqr returns sqrt(x),
i.e., the square root of x.
The calculation is performed with sqrt (see exp(3)).
This function implements the BASIC SQR function.
SEE ALSO
-
sqr(func)
exp(3) in the UNIX Programmer’s Manual
DIAGNOSTICS
-
Error 5 (Illegal function call) is generated if x is negative.
from
The Basmark QuickBASIC Programmer’s Manual
by
Lawrence Leinweber