[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ratio implementation
From: |
Bill Schottstaedt |
Subject: |
Re: ratio implementation |
Date: |
Fri, 17 Oct 2003 04:47:33 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225 |
> The above behavior of inexact->exact better fits R5RS, I'd say, since
> R5RS calls for the _closest_ representable exact number, not for the
> simplest, as with rationalize. So I'm inclined to use it intead of
> rationalize. Ok?
I didn't notice the distinction. I'd go with your version.
> Hmm, what about a SCM version of the code? I'm about to write such a
> thing, but I first needed a proper scm_floor...
Yes, that's a better approach.
- Re: ratio implementation, Marius Vollmer, 2003/10/07
- Re: ratio implementation, Marius Vollmer, 2003/10/07
- Re: ratio implementation, Bill Schottstaedt, 2003/10/13
- 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 <=
- 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, 2003/10/17
- 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