[net.micro] Implementation of sine function

mlsmith@NADC.ARPA@sri-unix.UUCP (06/13/84)

	Due to the symmetry of the octants, only 45 degrees need to be put on
the table (both sine and cosine). One trick is to make the table non-linear to
get more accuracy out of the same size table. BUT that is the main question:
how much accuracy is enough? If you want 10 place accuracy a series expansion
may be best. If you have a powerful computer iteration is easier to code. One
application I had the major requirement was speed of "computation" and I ended
up using a 360 entry table to limit that time to a memory access. But unless
you have special requirements, why not use the sin and cos in a typical BASIC
compiler?

						mlsmith@NADC.ARPA

PRJohnson@MIT-XX.ARPA (06/14/84)

From:  "Paul R. Johnson" <PRJohnson@MIT-XX.ARPA>

The book you want to look in for sine and many other funcions is:

  "Computer Approximations", by John F. Hart, et. al.
  John Wiley and Sons, 1968

It's got it all.

---Paul Johnson
-------

ee171bbr@NOSC.ARPA (06/24/84)

From:  VINDICATOR <sdcsvax!sdccsu3!ee171bbr@NOSC.ARPA>

This is Nick Flor, is this the same
Paul Johnson who is my project supervisor
at Hewlett Packard?