[R6RS] Predicate for "neither infinite nor NaN"

Michael Sperber sperber at informatik.uni-tuebingen.de
Wed May 10 10:59:10 EDT 2006

dyb at cs.indiana.edu writes:

>> The specification of arithmetic in a number of places refers to
>> numbers that can be anything except infinite or NaN.  Should we have a
>> predicate for this?  (Jaffer's SRFI has `finite?' for this purpose, I
>> believe.)
> Such a predicate might be nice.  The name finite? is okay with me.  We
> already have a nan? predicate, right?  Will we also have an infinite? 
> predicate, so that the predicates finite?, infinite?, and nan? are
> orthogonal and cover the space of all real numbers?

I've added those to the SRFI and the reference implementation.

Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

More information about the R6RS mailing list