[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] expt incorrect in boundary cases
From: |
Matthew Flatt |
Subject: |
Re: [Chicken-users] expt incorrect in boundary cases |
Date: |
Tue, 28 Apr 2009 11:55:32 -0600 |
At Tue, 28 Apr 2009 13:43:38 -0400, John Cowan wrote:
> Matthew Flatt scripsit:
>
> > For what it's worth,
> >
> > http://svn.plt-scheme.org/plt/trunk/src/mzscheme/sconfig.h
> >
> > contains a number of platform-specific, FP-related declarations that
> > reflect how well different libms work in our experience. For example,
> > POW_HANDLES_INF_CORRECTLY is declared for NetBSD, but not for Linux.
>
> Thanks. However, what counts as "correctly"? ISO C and the SUS
> say one thing, IEEE 754 says another. I assume that for
> Scheme (as for Java and JavaScript), IEEE should win.
"Correct" for PLT Scheme does mean IEEE, but I should have named the
flag "..._AS_IN_IEEE_754" instead of "..._CORRECTLY".