emacs-devel
[Top][All Lists]
Advanced

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

Re: Fix for inconsistent (/ DIVIDEND DIVISOR &rest DIVISORS)


From: Peter Whaite
Subject: Re: Fix for inconsistent (/ DIVIDEND DIVISOR &rest DIVISORS)
Date: Tue, 04 May 2004 19:21:36 -0400

Miles Bader <address@hidden> wrote:

> On Tue, May 04, 2004 at 06:27:11PM -0400, Peter Whaite wrote:
> > Some time ago there was a thread on division being inconsistent when
> > floats were involved.  I dont know what the outcome of that discussion
> > was, but it did occur to me that the simplest fix would be to multiply
> > the divisors before doing the division.
> 
> That might result in overflow where there wasn't any before, especially when
> all the args are fixnums.

Oh you're right and it isn't the first time I've fallen for that one.  I
was fixated on floats.

-- 
Peter Whaite (http://whaite.ca)




reply via email to

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