|
|
Log in / Subscribe / Register

Mathematical functions

Mathematical functions

Posted Jan 25, 2026 21:11 UTC (Sun) by ubhofmann (subscriber, #47368)
Parent article: GNU C Library 2.43 released

> Additional optimized and correctly rounded mathematical functions have been imported from the CORE-MATH project, in particular acosh, asinh, atanh, erf, erfc, lgamma, and tgamma.

I'm surprised to see a constant flow of improvements in basic mathematical functions. I thought that those functions were already fully optimized long ago. The CORE-MATH project is quite interesting.


to post comments

Mathematical functions

Posted Jan 26, 2026 6:33 UTC (Mon) by joib (subscriber, #8541) [Link]

It seems the techniques for generating math functions that are correctly rounded (to within 0.5 ulps) for all valid inputs, and are decently fast, is a relatively new thing. And then there are all the new floating point functions (new functions, as well as old functions for new floating point formats), handling rounding modes, and whatnot. Then add in SIMD implementations (libmvec) etc etc., and it's just a huge amount of work.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds