reference doc tweaks
svn: r8008
This commit is contained in:
parent
dec5a1c21b
commit
265550c08f
|
@ -90,7 +90,7 @@ A parameter that determines the @techlink{current namespace}.}
|
||||||
|
|
||||||
@defproc[(namespace-symbol->identifier [sym symbol?]) identifier?]{
|
@defproc[(namespace-symbol->identifier [sym symbol?]) identifier?]{
|
||||||
|
|
||||||
Similar to @scheme[datum->syntax-object] restricted to symbols. The
|
Similar to @scheme[datum->syntax] restricted to symbols. The
|
||||||
lexical context of the resulting identifier corresponds to the
|
lexical context of the resulting identifier corresponds to the
|
||||||
top-level environment of the current namespace; the identifier has no
|
top-level environment of the current namespace; the identifier has no
|
||||||
source location or properties.}
|
source location or properties.}
|
||||||
|
|
|
@ -488,8 +488,9 @@ Returns @scheme[(and (exact-integer? v) (positive? v))].
|
||||||
@examples[(imag-part 3+4i) (imag-part 5.0) (imag-part 5.0+0.0i)]}
|
@examples[(imag-part 3+4i) (imag-part 5.0) (imag-part 5.0+0.0i)]}
|
||||||
|
|
||||||
|
|
||||||
@defproc[(magnitude [z number?]) real?]{ Returns the magnitude of
|
@defproc[(magnitude [z number?]) (and/c real? (not/c negative?))]{
|
||||||
the complex number @scheme[z] in polar coordinates.
|
Returns the magnitude of the complex number @scheme[z] in polar
|
||||||
|
coordinates.
|
||||||
|
|
||||||
@examples[(magnitude -3) (magnitude 3.0) (magnitude 3+4i)]}
|
@examples[(magnitude -3) (magnitude 3.0) (magnitude 3+4i)]}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user