[libc-commits] [PATCH] D115608: [libc] Add documentation about how to add a math function to LLVM-libc.

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Mon Dec 13 23:54:16 PST 2021


sivachandra added inline comments.


================
Comment at: libc/src/math/docs/add_math_function.md:1
+# How to add a new math function to LLVM-libc
+
----------------
We should talk about the why of this document. For example, something like:

```
This document is to serve as a cookbook for adding a new math function implementation to LLVM libc. To add a new function, apart from the actual implementation, one has to follow a few other steps to setup proper registration and shipping of the new function. This documents describes each of these steps in detail.
```


================
Comment at: libc/src/math/docs/add_math_function.md:5
+
+## Registration
+
----------------
Explain a little about what this registration is for. Ditto for all sections.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115608



More information about the libc-commits mailing list