sqrt -- r7rs Definition procedure;
Procedure variants:
((number-zero) -> (real-zero))
number-zero;real-zero;((real-positive-not-inf) -> (real-positive-not-inf))
real-positive-not-inf;real-positive-not-inf;((real-negative-not-inf) -> (complex-not-inf-not-nan))
real-negative-not-inf;complex-not-inf-not-nan;((number) -> (number-nan))
number;number-nan;scheme:inexact -- (scheme inexact);scheme -- (scheme);(sqrt z)Returns the principal square root of
z. The result will have either a positive real part, or a zero real part and a non-negative imaginary part.(sqrt 9) ===> 3 (sqrt -1) ===> +i
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.
number-zero;real-zero;real-positive-not-inf;real-negative-not-inf;complex-not-inf-not-nan;number;number-nan;