Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!news2.euro.net!postnews2.euro.net!news.wanadoo.nl!not-for-mail From: mhx@iae.nl (Marcel Hendrix) Subject: Re: Integer cosine function Newsgroups: comp.lang.forth Message-ID: <17789018018434@frunobulax.edu> Date: Sun, 17 Feb 2013 13:57:18 +0200 References: X-Newsreader: iForth 2.0 console (October 21, 2006) Lines: 12 Organization: Wanadoo NNTP-Posting-Date: 17 Feb 2013 12:57:15 GMT NNTP-Posting-Host: s529d937f.adsl.online.nl X-Trace: 1361105835 dr4.euro.net 9193 82.157.147.127:64199 X-Complaints-To: abuse@wanadoo.nl Xref: csiph.com comp.lang.forth:19771 Brad Eckert writes Re: Integer cosine function > Here's an integer cosine I just wrote that has pretty good precision. > Testbench is included. I'm posting it here in case someone wants to add > more transcendental functions or if I want to find it again in 20 years. [..] If the latter, please rewrite for 64-bits (or more ;-) Of course, in another 20 years FP hardware will be standard. -marcel