🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: misc.wanted
Article #2832

Re: Wanted: fast, low-precision trig functions for C

#2832
From: Henry Spencer
Date: Tue, 28 Feb 1989 17:09
10 lines
871 bytes
In article <1256@dukeac.UUCP> tcamp@dukeac.UUCP (Ted A. Campbell) writes:
>...I wondered if there were any fast, low-precision approaches 
>to the standard trig functions...

Consider table lookup, followed (if necessary) by linear interpolation
between adjacent table values (most functions look fairly linear on a
small scale).
-- 
The Earth is our mother;       |     Henry Spencer at U of Toronto Zoology
our nine months are up.        | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
Technical Details
Message-ID: <1989Feb28.170925.17264@utzoo.uucp>
Path: arc1-ca.pugleaf.net!utzoo!henry
References: <1256@dukeac.UUCP>

Show Full Headers
Complete Article Headers
Newsgroups: misc.wanted,comp.lang.c,triangle.general,micro.general,triangle.graphics,micro.ibm
Path: arc1-ca.pugleaf.net!utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: Wanted: fast, low-precision trig functions for C
Message-ID: <1989Feb28.170925.17264@utzoo.uucp>
Organization: U of Toronto Zoology
References: <1256@dukeac.UUCP>
Date: Tue, 28 Feb 89 17:09:25 GMT