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

is NaN a number?



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