[PATCH 6/6] Remove slow paths from sin/cos

Siddhesh Poyarekar siddhesh@gotplt.org
Fri Mar 9 16:02:00 GMT 2018


On Friday 09 March 2018 09:22 PM, Wilco Dijkstra wrote:
> Restructure the sincos implementation - rather than rely on odd partial inlining
> of preprocessed portions from sin and cos, explicitly write out the cases.

The intention of keeping the inlines was to avoid duplicating code
across files.  With this change one now must remember to make changes in
both files at all times, increasing the chances of an error.  Do you see
any gain from duplicating code?

Siddhesh



More information about the Libc-alpha mailing list