SRFI-77 with more than one flonum representation Alan Watson (20 Jun 2006 05:41 UTC)
Re: SRFI-77 with more than one flonum representation John Cowan (20 Jun 2006 13:36 UTC)
Re: SRFI-77 with more than one flonum representation Alan Watson (21 Jun 2006 21:34 UTC)

Re: SRFI-77 with more than one flonum representation John Cowan 20 Jun 2006 13:36 UTC

Alan Watson scripsit:

> I think that the flonum-specific parts of SRFI-77 has some issues when
> there is more than one flonum representation[*]. For example, consider
> an implementation with IEEE 754 single-precision and double-precision
> flonums.

I read SRFI 77 as saying that a conforming Scheme system can have
more than one representation of inexact reals, but that one of these
must be labeled "flonums" for the purposes of the standard, and
the others are something else.  The procedure "real->flonum" coerces
an arbitrary real to the chosen case so that the flonum-specific
procedures can be invoked.

--
John Cowan  xxxxxx@ccil.org  http://ccil.org/~cowan
Linguistics is arguably the most hotly contested property in the academic
realm. It is soaked with the blood of poets, theologians, philosophers,
philologists, psychologists, biologists and neurologists, along with
whatever blood can be got out of grammarians. - Russ Rymer