square -- r7rs Definition procedure;
Procedure variants:
((real-not-nan) -> (real-positive-or-zero))
real-not-nan;real-positive-or-zero;((complex-not-nan) -> (complex-not-nan))
complex-not-nan;complex-not-nan;((number) -> (number-nan))
number;number-nan;scheme:base -- (scheme base);scheme -- (scheme);(square z)Returns the square of
z. This is equivalent to(* z z).(square 42) ===> 1764 (square 2.0) ===> 4.0
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.