Re: 64bit/64bit fixed point division?
- From: Sebastian Biallas <spamtrap@xxxxxxxxxx>
- Date: Wed, 23 Aug 2006 02:24:04 +0200
Phil Carmody wrote:
I'd be curious how to use an integer divisor...
As Robert said: Division is messy. It's even slow if you let the
processor do it. Hey, even a fsqrt is faster than fdiv...
But if you know the dividend in advance (i.e. it is a constant), you can
greatly speed up the process by multiplying with its reciprocal. This
also works for the integer/fixpoint case if you take some care.
--
Gruß,
Sebastian
.
- References:
- 64bit/64bit fixed point division?
- From: spamtrap
- Re: 64bit/64bit fixed point division?
- From: Robert Redelmeier
- Re: 64bit/64bit fixed point division?
- From: Terje Mathisen
- Re: 64bit/64bit fixed point division?
- From: Phil Carmody
- 64bit/64bit fixed point division?
- Prev by Date: Re: 64bit/64bit fixed point division?
- Next by Date: Re: Best way to emulate BSR?
- Previous by thread: Re: 64bit/64bit fixed point division?
- Next by thread: Re: 64bit/64bit fixed point division?
- Index(es):
Relevant Pages
|