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

via libcxx-commits libcxx-commits at lists.llvm.org
Sun Apr 28 13:03:47 PDT 2024


================
@@ -765,6 +766,54 @@ _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _Tp __constexpr_scalbn(_Tp _
   return __builtin_scalbn(__x, __exp);
 }
 
+#if _LIBCPP_STD_VER >= 17
----------------
PaulXiCao wrote:

I raised similar thoughts in a [previous comment](https://github.com/llvm/llvm-project/pull/89982#discussion_r1581533949). 
Is it valid to use the `__math/` folder instead of a newly created `__cmath/` folder? Note, that the special math functions are only part of the `<cmath>` and not `<math.h>` header. 
In general, I am more than in favor to move that code into a separate header.

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


More information about the libcxx-commits mailing list