Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Forth > Re: Fast FEXP a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 9 Topic 3971 of 4136
Post > Topic >>

Re: Fast FEXP approximation

by Andrew Haley <andrew29@[EMAIL PROTECTED] > Mar 25, 2008 at 06:10 PM

Ian Osgood <iano@[EMAIL PROTECTED]
> wrote:
> I recently ran across a fast approximation for exp() which relies on
> the internal structure of IEEE doubles, implemented as a cast integer
> multiply by a magic constant. Is this already known to the Forth
> community?

Surely it's just a polynomial approximation to exp(x), with order 1
and 0.5 <= x < 1; it can't be that, though, because it would be
nowhere near accurate enough.  

I an see why a right ****ft of an IEEE double with a little diddling of
the low-order bits would be roughly there.  How rough an approximation
is this?  :-)

Tang's algorithm is fast, but there's a bit more to it than just a
multiply.  Can't be that.

OK, go on, tell us...

Andrew.
 




 9 Posts in Topic:
Fast FEXP approximation
Ian Osgood <iano@[EMAI  2008-03-25 07:45:30 
Re: Fast FEXP approximation
Andrew Haley <andrew29  2008-03-25 18:10:46 
Re: Fast FEXP approximation
Ian Osgood <iano@[EMAI  2008-03-25 11:25:31 
Re: Fast FEXP approximation
mhx@[EMAIL PROTECTED] (M  2008-03-25 21:08:24 
Re: Fast FEXP approximation
Albert van der Horst <  2008-03-25 21:52:18 
Re: Fast FEXP approximation
Frank <fjrusso@[EMAIL   2008-03-27 16:23:43 
Re: Fast FEXP approximation
Albert van der Horst <  2008-03-28 08:53:31 
Re: Fast FEXP approximation
anton@[EMAIL PROTECTED]   2008-03-28 20:42:20 
Re: Fast FEXP approximation
Albert van der Horst <  2008-03-29 17:08:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 5:49:51 CDT 2008.