[libc-commits] [libc] [libc][math] Implement atan2f correctly rounded to all rounding modes. (PR #86716)

via libc-commits libc-commits at lists.llvm.org
Tue Mar 26 21:25:14 PDT 2024


lntue wrote:

> Once a function starts pushing 100+ lines, consider if it makes sense to start breaking up portions into smaller static functions. Usually having another block of local variables declared in the middle of the function is a sign that a function can be made more modular. This has the added benefit of reducing the lifetime of variables which results in reduced stack usage due to improvements in stack slot reuse.

I split the accurate pass into a separate function.

https://github.com/llvm/llvm-project/pull/86716


More information about the libc-commits mailing list