Implement acoshf function correctly rounded to all rounding modes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I've sync to revision 024115ab1482 and re-upload the patch. Can you try it again? Thanks.
Comment Actions
all exhaustive tests do pass. The performance is a little worse than CORE-MATH and glibc:
zimmerma@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;