Re: Real numbers

Subject: Re: Real numbers
From: Dave Love <d.love@xxxxxxxx>
Date: 13 Aug 1997 20:20:47 +0100
>>>>> "Tony" == Tony Graham <tgraham@xxxxxxxxxxxxxxxx> writes:

 Tony> Where is the definition of real numbers?  What should the
 Tony> result be of (number? (sqrt -1)) if DSSSL does not support
 Tony> complex numbers?

Probably a domain error would be most appropriate (typically most
useful), but `(sqrt -1)' might return NaN which should answer #t to
`number?' even though it's `not a number' in the IEEE 754 sense.  You
can find both behaviours in Scheme systems.

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist


Current Thread
  • Real numbers
    • Tony Graham - Tue, 12 Aug 1997 14:39:01 -0400 (EDT)
      • Dave Love - Wed, 13 Aug 1997 15:17:11 -0400 (EDT) <=
        • Tony Graham - Wed, 13 Aug 1997 15:53:21 -0400 (EDT)
          • Dave Love - Fri, 15 Aug 1997 06:36:34 -0400 (EDT)