Nyquist / XLISP 2.0 -
Contents |
Tutorials |
Examples |
Reference
cl:sqrt
The cl:sqrt function does the same as the
Nyquist/XLISP sqrt function, but
also accepts integer numbers as argument:
- (cl:sqrt number)
- number - an integer or floating-point number
returns - the square root of number
(defun cl:sqrt (x)
(sqrt (float x)))
See defun,
float,
sqrt.
The cl:sqrt function computes the square root of its
argument and returns the result. as a floating-point
number.
Back to top
Nyquist / XLISP 2.0 -
Contents |
Tutorials |
Examples |
Reference