[libcxx-commits] [libcxx] [libc++][math] Mathematical Special Functions: Hermite Polynomial (PR #89982)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Apr 26 14:08:09 PDT 2024


================
@@ -922,6 +922,7 @@ set(files
   execution
   expected
   experimental/__config
+  experimental/__math/hermite.h
----------------
PaulXiCao wrote:

Ok, I moved the code to the `include/cmath` header. 
Is there a policy about adding new folders, files? If so how granular can we go? E.g. could I create the `include/__cmath/` folder and `include/__cmath/hermite.h` file? Or should it rather be one header for all special math functions, i.e. `include/__cmath/special_functions.h`?
On the same note, one could factor out `std::lerp` functions from `include/cmath` into `include/__cmath/lerp.h`.

https://github.com/llvm/llvm-project/pull/89982


More information about the libcxx-commits mailing list