[libc-commits] [PATCH] D151049: [libc][math] Implement double precision log1p correctly rounded to all rounding modes.
Paul Zimmermann via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue May 23 08:01:46 PDT 2023
zimmermann6 accepted this revision.
zimmermann6 added a comment.
This revision is now accepted and ready to land.
this function is faster than core-math, even for the reciprocal throughput, great work!
GNU libc version: 2.36
GNU libc release: stable
[####################] 100 %
Ntrial = 20 ; Min = 49.596 + 0.352 clc/call; Median-Min = 0.315 clc/call; Max = 50.216 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 26.743 + 0.357 clc/call; Median-Min = 0.333 clc/call; Max = 29.183 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 38.887 + 0.296 clc/call; Median-Min = 0.249 clc/call; Max = 41.140 clc/call;
GNU libc version: 2.36
GNU libc release: stable
[####################] 100 %
Ntrial = 20 ; Min = 94.356 + 0.365 clc/call; Median-Min = 0.288 clc/call; Max = 95.270 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 69.370 + 0.356 clc/call; Median-Min = 0.262 clc/call; Max = 70.010 clc/call;
[####################] 100 %
Ntrial = 20 ; Min = 67.833 + 0.346 clc/call; Median-Min = 0.292 clc/call; Max = 68.525 clc/call;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151049/new/
https://reviews.llvm.org/D151049
More information about the libc-commits
mailing list