Re: Formula for Damping f times

Robin Green <[email protected]>
Newsgroups gmane.games.devel.algorithms
Message-ID <[email protected]>
On Sat, Jun 6, 2009 at 2:32 AM, Fabian Giesen<[email protected]> wrote:
>
> But since the log is only done on k (which is, presumably, a constant),
> you can just store log(k) directly and do exp(log(k)*t) (with some small
> loss in accuracy that's unlikely to be a problem).

Yes, in theory, but these tables have to be run using a higher number
of bits than normal as they have a large effect in the reconstructed
value. Check out the use of static tables with a second "continuation"
table in "powf.c" from the Cephes single precision library
"single.tgz". Compare it to the simplicity of "exp2f.c".

    http://www.netlib.org/cephes/

- Robin Green.

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
GDAlgorithms-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.