File tree Expand file tree Collapse file tree 3 files changed +25
-12
lines changed
utils/bazel/llvm-project-overlay/libc Expand file tree Collapse file tree 3 files changed +25
-12
lines changed Original file line number Diff line number Diff line change 1919#include " src/__support/FPUtil/rounding_mode.h"
2020#include " src/__support/common.h"
2121#include " src/__support/macros/optimization.h" // LIBC_UNLIKELY
22- #include " src/math/exp10f.h"
2322
2423#include < errno.h>
2524
Original file line number Diff line number Diff line change @@ -1331,17 +1331,6 @@ libc_math_function(
13311331 ],
13321332)
13331333
1334- libc_math_function (
1335- name = "powf" ,
1336- additional_deps = [
1337- ":__support_fputil_double_double" ,
1338- ":__support_fputil_sqrt" ,
1339- ":exp2f" ,
1340- ":exp10f" ,
1341- ":explogxf" ,
1342- ],
1343- )
1344-
13451334libc_math_function (
13461335 name = "logf" ,
13471336 additional_deps = [
@@ -1573,6 +1562,24 @@ libc_math_function(
15731562 ],
15741563)
15751564
1565+ libc_math_function (
1566+ name = "powf" ,
1567+ additional_deps = [
1568+ ":__support_fputil_double_double" ,
1569+ ":__support_fputil_multiply_add" ,
1570+ ":__support_fputil_nearest_integer" ,
1571+ ":__support_fputil_polyeval" ,
1572+ ":__support_fputil_rounding_mode" ,
1573+ ":__support_fputil_sqrt" ,
1574+ ":__support_fputil_triple_double" ,
1575+ ":__support_macros_optimization" ,
1576+ ":common_constants" ,
1577+ ":explogxf" ,
1578+ ":exp2f_impl" ,
1579+ ":exp10f_impl" ,
1580+ ],
1581+ )
1582+
15761583libc_math_function (name = "fabs" )
15771584
15781585libc_math_function (name = "fabsf" )
Original file line number Diff line number Diff line change @@ -760,6 +760,13 @@ math_test(
760760 ],
761761)
762762
763+ math_test (
764+ name = "powf" ,
765+ deps = [
766+ "//libc/utils/MPFRWrapper:mpfr_wrapper" ,
767+ ],
768+ )
769+
763770math_test (
764771 name = "fmod" ,
765772 hdrs = ["FModTest.h" ],
You can’t perform that action at this time.
0 commit comments