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 19
19
#include " src/__support/FPUtil/rounding_mode.h"
20
20
#include " src/__support/common.h"
21
21
#include " src/__support/macros/optimization.h" // LIBC_UNLIKELY
22
- #include " src/math/exp10f.h"
23
22
24
23
#include < errno.h>
25
24
Original file line number Diff line number Diff line change @@ -1331,17 +1331,6 @@ libc_math_function(
1331
1331
],
1332
1332
)
1333
1333
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
-
1345
1334
libc_math_function (
1346
1335
name = "logf" ,
1347
1336
additional_deps = [
@@ -1573,6 +1562,24 @@ libc_math_function(
1573
1562
],
1574
1563
)
1575
1564
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
+
1576
1583
libc_math_function (name = "fabs" )
1577
1584
1578
1585
libc_math_function (name = "fabsf" )
Original file line number Diff line number Diff line change @@ -760,6 +760,13 @@ math_test(
760
760
],
761
761
)
762
762
763
+ math_test (
764
+ name = "powf" ,
765
+ deps = [
766
+ "//libc/utils/MPFRWrapper:mpfr_wrapper" ,
767
+ ],
768
+ )
769
+
763
770
math_test (
764
771
name = "fmod" ,
765
772
hdrs = ["FModTest.h" ],
You can’t perform that action at this time.
0 commit comments