[PATCH] Ensure calculations happen with desired rounding mode in y1lf128

Paul Zimmermann Paul.Zimmermann@inria.fr
Mon Aug 22 12:28:57 GMT 2022


> Rewriting this function would not be trivial, but the math functions that are already
> rewritten (like exp, pow, log) prove you can get fast and accurate results without
> ever needing rounding mode changes.

indeed, you can even get correct rounding (for all rounding modes) faster than
the current glibc implementations. See https://hal.inria.fr/hal-03721525
for example, or the current LLVM libc implementations (cf bottom table of
https://core-math.gitlabpages.inria.fr/).

Paul Zimmermann


More information about the Libc-alpha mailing list