[libc-commits] [libc] [libc][math] Implement double-precision asinh (PR #199957)

Aayush Shrivastava via libc-commits libc-commits at lists.llvm.org
Wed Oct 28 23:55:14 PDT 2026


iamaayushrivastava wrote:

> Not a review, a note from a downstream tree. We carry a double asinh built the same way (log and log1p with a sqrt, and a branch near zero), at [FireBurn at 807f2942c24d](https://github.com/FireBurn/llvm-project/commit/807f2942c24d). Against a 60 digit reference it is at most 0.8 ulp, so it is not correctly rounded. The acosh PR (#199953) of the same shape failed lntue's CORE-MATH check on 17 July, so it may be worth running that check on this one before more review time goes in. We will use yours once it is merged

Thanks for the heads-up! I’ll run the CORE-MATH check to verify the accuracy before proceeding further. Appreciate you sharing the downstream results!

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


More information about the libc-commits mailing list