View Single Post
  #57   Report Post  
Prometheus
 
Posts: n/a
Default

On Thu, 30 Jun 2005 01:38:15 -0500, "Morris Dovey"
wrote:

A side note: a couple of years ago I wrote a tiny/fast sine/cosine
subroutine that divided a quadrant (quarter circle) into 256 parts and
used a table of 256 16-bit numerators and a common denominator of
65535. The subroutine folded all angles into the first quadrant and
interpolated to produce sine and cosine values accurate to +/-
0.0000005; it made me wish I could memorize the table.


See, somehow I knew you saw it my way- even if you don't agree with
the calculator bit, you just proved you're math nerd. Reminds me of
my TI-OS program for simulating synthetic division. Worked great, but
everyone who saw it thought I was nuts.

Cornbread is good. I have the formula around here somewhere...

:-)