typo in make-rectangular

This commit is contained in:
Alex Shinn 2011-09-05 23:36:52 +09:00
parent 4e60bba376
commit f9686315d9

View file

@ -995,7 +995,7 @@
(* (imag-part z) (imag-part z))))) (* (imag-part z) (imag-part z)))))
(define (angle z) (atan (imag-part z) (real-part z))) (define (angle z) (atan (imag-part z) (real-part z)))
(define (make-rectangular x y) (define (make-rectangular x y)
(+ x (* z (sqrt -1)))) (+ x (* y (sqrt -1))))
(define (make-polar r phi) (define (make-polar r phi)
(make-rectangular (* r (cos phi)) (* r (sin phi))))) (make-rectangular (* r (cos phi)) (* r (sin phi)))))
(else (else