[e-lang] Is it done?
benl at google.com
Tue Jan 1 08:14:16 EST 2008
On Jan 1, 2008 7:34 AM, Mark Miller <erights at gmail.com> wrote:
> On Dec 31, 2007 9:54 PM, Kevin Reid <kpreid at mac.com> wrote:
> > > (mismatch (file #P"/Users/erights/svn-other/e-on-cl/tests/
> > > numbers.updoc")
> > > (source "def x := 2.0 ** -0.5")
> > > (expects ("value" "0.7071067811865476"))
> > > (instead ("value" "0.7071067811865475")) (opt-backtrace
> > > nil))
> > This is the floating-point problem I mentioned. I believe that
> > 0.7071067811865475 is actually the correct answer; please verify this.
> E-on-Java does give 0.7071067811865475. For this case, E-on-Java
> simply delegates to Java's StrictMath.pow(), which is supposed to use
> IEEE double precision with round-to-even. I'm not sure what else to do
> to verify this.
Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
> Since this kind of thing may be sensitive to platform issues at
> several levels of abstraction, for the record, my "rune --version"
> E version: 0.9.1c at /Users/erights/ehome/
> on Java version: 1.5.0_07 at
> on OS: Mac OS X version: 10.4.11 on i386 (mac/x86)
> for erights in US
> Text by me above is hereby placed in the public domain
> e-lang mailing list
> e-lang at mail.eros-os.org
More information about the e-lang