[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
is NaN a number?
- To: srfi-70@xxxxxxxxxxxxxxxxx
- Subject: is NaN a number?
- From: Alex Shinn <alexshinn@xxxxxxxxx>
- Date: Thu, 19 May 2005 11:18:44 +0900
- Delivered-to: srfi-70@xxxxxxxxxxxxxxxxx
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HIyxO9AKvh+542mCtGnb63UhPRtXkF2XdQ0ziM1tpNhxZ5ayFKwBsyM5aqbGl/hTPSxDysMRGjUcwE94LBxS76zK3vHLbNlTatyrRBi4PoLQCMo/1yAbPCQlxe9R/OXzSFQAbG0n/A3KJQNLcr2t6wPPLck/1IDTrNuvyLvjLsM=
- Reply-to: Alex Shinn <alexshinn@xxxxxxxxx>
Hi,
Is the following a typo?
(complex? 0/0) ==> #t
(real? 0/0) ==> #f
One would assume that
(complex? x) -> (real? (real-part x))
Moreover, since 0/0 is by definition "Not a Number" it seems natural that
(number? 0/0) ==> #f
--
Alex