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

*To*: scheme-reports@x*Subject*: Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0*From*: Per Bothner <per@x>*Date*: Sat, 15 Dec 2012 12:26:00 -0800*In-reply-to*: <20121215201726.GF13463@mercury.ccil.org>*References*: <8738zc9g2x.fsf@tines.lan> <CAMMPzYOKcOm+trYA0Fc+NtWfG00K0BM4hvghsxrr6L9wnCyhuQ@mail.gmail.com> <87d2yf80q3.fsf@tines.lan> <20121214223854.GX29857@mercury.ccil.org> <CAGUt3y55KEVFn=6_i9yRXR8w_e8Nk2tN7QGCF8rEhYTs2Xgrjw@mail.gmail.com> <878v8z5iq8.fsf@tines.lan> <20121215201726.GF13463@mercury.ccil.org>

On 12/15/2012 12:17 PM, John Cowan wrote: > I have detailed the situation with multiple representation of > inexact numbers for the usual 45 Schemes plus 10 Common Lisps at > <http://trac.sacrideo.us/wg/wiki/FloatPrecision>. The short version is > that most Schemes have IEEE double as the only representation. Racket and > NexJ have both IEEE single and IEEE double, as do most Common Lisps. > LispWorks has three distinct representations, CLISP has four. Kawa has 4: #|kawa:1|# (3.5e0:getClass) class gnu.math.DFloNum #|kawa:2|# (3.5d0:getClass) class java.lang.Double #|kawa:3|# (3.5s0:getClass) class java.lang.Float #|kawa:4|# (3.5l0:getClass) class java.math.BigDecimal However, both gnu.math.DFloNum and java.lang.Double wrap an underlying 64-bit float. DFloNum is part of the Kawa numeric tower directly. -- --Per Bothner per@x http://per.bothner.com/ _______________________________________________ Scheme-reports mailing list Scheme-reports@x http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

**References**:**[Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0***From:*Mark H Weaver <mhw@x>

**Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0***From:*Alex Shinn <alexshinn@x>

**Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0***From:*Mark H Weaver <mhw@x>

**Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0***From:*John Cowan <cowan@x>

**Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0***From:*Sascha Ziemann <ceving@x>

**Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0***From:*Mark H Weaver <mhw@x>

**Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0***From:*John Cowan <cowan@x>

- Prev by Date:
**Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0** - Next by Date:
**Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0** - Previous by thread:
**Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0** - Next by thread:
**Re: [Scheme-reports] Strong win later reversed: Real numbers have imaginary part #e0** - Index(es):