[libc-commits] [PATCH] D142781: [libc][math] Implement acoshf function correctly rounded to all rounding modes.
Paul Zimmermann via Phabricator via libc-commits
libc-commits at lists.llvm.org
Sat Jan 28 23:54:51 PST 2023
zimmermann6 accepted this revision.
zimmermann6 added a comment.
This revision is now accepted and ready to land.
all exhaustive tests do pass. The performance is a little worse than CORE-MATH and glibc:
zimmerma at biscotte:~/svn/core-math$ LIBM=/localdisk/zimmerma/llvm-project/build/projects/libc/lib/libllvmlibc.a ./perf.sh acoshf
GNU libc version: 2.36
GNU libc release: stable
[####################] 100 %
Ntrial = 20 ; Min = 17.383 + 0.168 clc/call; Median-Min = 0.004 clc/call; Max = 17.769 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 21.634 + 0.150 clc/call; Median-Min = 0.059 clc/call; Max = 22.014 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 25.034 + 0.320 clc/call; Median-Min = 0.305 clc/call; Max = 25.602 clc/call;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142781/new/
https://reviews.llvm.org/D142781
More information about the libc-commits
mailing list