Messages in this thread | | | Date | Tue, 18 Oct 2011 08:01:07 +0200 | From | Ingo Molnar <> | Subject | Re: Linux 3.1-rc9 |
| |
* H. Peter Anvin <hpa@zytor.com> wrote:
> On 10/17/2011 02:39 PM, Ingo Molnar wrote: > >> > >> We can do much better than that with reciprocal multiplication. > > > > Yes, 2^64/1e9 is the reciprocal. > > > > What I mean is that it's pretty easy to work it so it doesn't have > the errors. [...]
Yeah - the second pseudocode i gave will do that with no errors.
> [...] We have 32*32 = 64 multiplication on all 32-bit platforms I'm > 99.9% sure.
Good.
Thanks,
Ingo
| |