[libcxx-commits] [libcxx] [libc++][modules] Consolidate modules for math and tuple (PR #107398)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Thu Sep 5 05:59:58 PDT 2024


================
@@ -517,6 +517,26 @@ module std_locale_h [system] {
 }
 module std_math_h [system] {
   header "math.h"
+  module abs                             { header "__math/abs.h" }
+  module copysign                        { header "__math/copysign.h" }
+  module error_functions                 { header "__math/error_functions.h" }
+  module exponential_functions           { header "__math/exponential_functions.h" }
+  module fdim                            { header "__math/fdim.h" }
+  module fma                             { header "__math/fma.h" }
+  module gamma                           { header "__math/gamma.h" }
+  module hyperbolic_functions            { header "__math/hyperbolic_functions.h" }
+  module hypot                           { header "__math/hypot.h" }
+  module inverse_hyperbolic_functions    { header "__math/inverse_hyperbolic_functions.h" }
+  module inverse_trigonometric_functions { header "__math/inverse_trigonometric_functions.h" }
+  module logarithms                      { header "__math/logarithms.h" }
+  module min_max                         { header "__math/min_max.h" }
+  module modulo                          { header "__math/modulo.h" }
+  module remainder                       { header "__math/remainder.h" }
+  module roots                           { header "__math/roots.h" }
+  module rounding_functions              { header "__math/rounding_functions.h" }
+  module special_functions               { header "__math/special_functions.h" }
----------------
philnik777 wrote:

I don't think this should be part of `std_math_h`, since it's only defining symbols for `cmath`.

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


More information about the libcxx-commits mailing list