Fw: Error in documentation for tan(), and poor implementation of sin() and cos()

Wilco Dijkstra <[email protected]>
Newsgroups gmane.comp.lib.glibc.alpha
Message-ID <PAWPR08MB898228931A4BA5B80579822883FF2@PAWPR08MB8982.eurprd08.prod.outlook.com>
Hi Paul,

In all cases that is the shared range reducer which has bugs for huge inputs,
so you could just directly check the range reducer. Using integer arithmetic
like I did for float sin/cos results in a much simpler and faster range reducer.

Cheers,
Wilco
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.