[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ratio implementation
From: |
Rob Browning |
Subject: |
Re: ratio implementation |
Date: |
Fri, 17 Oct 2003 10:14:55 -0500 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Marius Vollmer <address@hidden> writes:
>> I wasn't even sure whether you wanted inexact->exact to
>> be changed -- I left the old code in place.
>
> Yes, it needs to be changed. People who have assumed that
> inexact->exact always returns an integer need to think again (I'm
> afraid I'm one of them...).
Yep, I'm sure there are plenty of people in that situation. I suspect
it's been used heavily in places where a (C) function require an
integer argument, i.e. (foo (inexact->exact (round x))). Though as
long as (inexact->exact (round x)) is guaranteed to return an integer,
perhaps that's sufficient.
--
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
- Re: ratio implementation, (continued)
- Re: ratio implementation, Kevin Ryde, 2003/10/14
- Re: ratio implementation, Marius Vollmer, 2003/10/14
- Re: ratio implementation, Kevin Ryde, 2003/10/14
- Re: ratio implementation, Bill Schottstaedt, 2003/10/16
- Re: ratio implementation, Marius Vollmer, 2003/10/17
- Re: ratio implementation, Bill Schottstaedt, 2003/10/17
- Re: ratio implementation, Rob Browning, 2003/10/17
- Re: ratio implementation, Kevin Ryde, 2003/10/17
- Re: ratio implementation, Bill Schottstaedt, 2003/10/15
- Re: ratio implementation, Marius Vollmer, 2003/10/17
- Re: ratio implementation,
Rob Browning <=
- Re: ratio implementation, Marius Vollmer, 2003/10/17
- Re: ratio implementation, Kevin Ryde, 2003/10/14
- ash using shifts (was: ratio implementation), Kevin Ryde, 2003/10/17