aboutsummaryrefslogtreecommitdiff
path: root/pl/math/tools/tanf.sollya
AgeCommit message (Collapse)Author
2023-01-23pl/math: Reduce order of single-precision tan polynomialJoe Ramsay
For both vector and scalar routines we reduce the order from 6 to 5. For vector routines, this requires reducing RangeVal as for large values the tan polynomial is not quite accurate enough. However the cotan polynomial is used in the inaccurate region in the scalar routine, so this does not need to change. Accuracy of scalar routine is unchanged. Accuracy in both vector routines is now 3.45 ULP, with the same worst-case.
2023-01-06pl/math: Update copyright yearsJoe Ramsay
All files in pl/math updated to 2023.
2022-10-19pl/math: Correct spelling mistakes in commentsNicholas Dingle
Correct a couple of spelling mistakes in the comments in two separate files.
2022-09-21pl/math: Add scalar tanfPierre Blanchard
Fast implementation using reduction to [0, pi/4] using approximation of cotan to allow for early reciprocal computation. The maximum error is 3.293ulps and is observed for a large input equal to 0x1.c849eap+16, about 116809.91.