diff --git a/libc/src/math/generic/exp10f_impl.h b/libc/src/math/generic/exp10f_impl.h index 6fe5426494002..24888b7d4c98f 100644 --- a/libc/src/math/generic/exp10f_impl.h +++ b/libc/src/math/generic/exp10f_impl.h @@ -19,7 +19,6 @@ #include "src/__support/FPUtil/rounding_mode.h" #include "src/__support/common.h" #include "src/__support/macros/optimization.h" // LIBC_UNLIKELY -#include "src/math/exp10f.h" #include diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel index b61e03860ad11..bebe17560a09a 100644 --- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel @@ -1331,17 +1331,6 @@ libc_math_function( ], ) -libc_math_function( - name = "powf", - additional_deps = [ - ":__support_fputil_double_double", - ":__support_fputil_sqrt", - ":exp2f", - ":exp10f", - ":explogxf", - ], -) - libc_math_function( name = "logf", additional_deps = [ @@ -1573,6 +1562,24 @@ libc_math_function( ], ) +libc_math_function( + name = "powf", + additional_deps = [ + ":__support_fputil_double_double", + ":__support_fputil_multiply_add", + ":__support_fputil_nearest_integer", + ":__support_fputil_polyeval", + ":__support_fputil_rounding_mode", + ":__support_fputil_sqrt", + ":__support_fputil_triple_double", + ":__support_macros_optimization", + ":common_constants", + ":explogxf", + ":exp2f_impl", + ":exp10f_impl", + ], +) + libc_math_function(name = "fabs") libc_math_function(name = "fabsf") diff --git a/utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel index f2ce0d54803b5..22df9fa494ead 100644 --- a/utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel @@ -760,6 +760,13 @@ math_test( ], ) +math_test( + name = "powf", + deps = [ + "//libc/utils/MPFRWrapper:mpfr_wrapper", + ], +) + math_test( name = "fmod", hdrs = ["FModTest.h"],