mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 14:19:18 +02:00
typo in make-rectangular
This commit is contained in:
parent
4e60bba376
commit
f9686315d9
1 changed files with 1 additions and 1 deletions
|
@ -995,7 +995,7 @@
|
|||
(* (imag-part z) (imag-part z)))))
|
||||
(define (angle z) (atan (imag-part z) (real-part z)))
|
||||
(define (make-rectangular x y)
|
||||
(+ x (* z (sqrt -1))))
|
||||
(+ x (* y (sqrt -1))))
|
||||
(define (make-polar r phi)
|
||||
(make-rectangular (* r (cos phi)) (* r (sin phi)))))
|
||||
(else
|
||||
|
|
Loading…
Add table
Reference in a new issue