chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] complex number procedures


From: Alex Shinn
Subject: [Chicken-users] complex number procedures
Date: Thu, 16 Mar 2006 19:29:14 -0600
User-agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI)

Hi!

Wishlist: the following definitions are reasonable in a Scheme without
imaginary numbers:

  (define (real-part x) x)
  (define (imag-part x) 0)
  (define magnitude abs)
  (define (angle x) 0)

If these were provided in the core it would be easier to write code
that works regardless of whether or not the numbers egg is being used.

-- 
Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]