[libc-commits] [PATCH] D101134: [libc] Add implementation of expm1f.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu May 13 14:45:08 PDT 2021


sivachandra accepted this revision.
sivachandra added a comment.
This revision is now accepted and ready to land.

`fma` and `fmaf` have been enabled on the bots so this is ready to go.



================
Comment at: libc/utils/mathtools/expm1f.sollya:1
+# Scripts to generate polynomial approximations for expm1f function using Sollya.
+#
----------------
Add LLVM license header.


================
Comment at: libc/utils/mathtools/expm1f.sollya:9
+
+> f := expm1(x);
+
----------------
Do we really need the `>` in the script?


================
Comment at: libc/utils/mathtools/expm1f.sollya:38
+
+> P3;
+1.23142086749794543720781803131103515625e-7 + x * (0.9999969005584716796875 + x * (0.500031292438507080078125
----------------
Can we use `print` commands to make this nicer?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101134/new/

https://reviews.llvm.org/D101134



More information about the libc-commits mailing list