Aubrey Jaffer scripsit: > | SCM encodes any inexact real x which is equal to its > | signle-precision value as a single-precision float. A > | single-precision float and its type header fits within a cons-cell, > | which saves space compared to a boxed double-precision float.
Interesting. My test wouldn't catch an algorithm like that. > Also, SRFI-63 single-precision float uniform arrays are stored as > single-precision floats in SCM. Yes, many Schemes do that; I wasn't referring to such a case. When you pull the single-float out of the array, it generally becomes a double-float. -- John Cowan [email protected] http://ccil.org/~cowan Sound change operates regularly to produce irregularities; analogy operates irregularly to produce regularities. --E.H. Sturtevant, ca. 1945, probably at Yale _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
