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