chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] CR: expt should signal error on domain error


From: Peter Bex
Subject: Re: [Chicken-hackers] CR: expt should signal error on domain error
Date: Mon, 4 Jul 2011 09:21:44 +0200
User-agent: Mutt/1.4.2.3i

On Mon, Jul 04, 2011 at 02:47:01AM -0400, John Cowan wrote:
> Felix scripsit:
> 
> > * Those who want IEEE behaviour can have it using "fpexpt".
> 
> True.  However, I tend to expect that the fp* functions will provide
> efficient versions of the regular procedures (because they know their
> arguments are flonums) rather than returning different results.

+1 on that.  Having the fp (or fx, for that matter) procedures behave
differently from the "generic" ones on flonums is unintuitive and seems
to me like trouble in the making.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth



reply via email to

[Prev in Thread] Current Thread [Next in Thread]