diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel --- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel @@ -1217,6 +1217,22 @@ ], ) +libc_math_function( + name = "exp", + additional_deps = [ + ":__support_fputil_double_double", + ":__support_fputil_dyadic_float", + ":__support_fputil_multiply_add", + ":__support_fputil_nearest_integer", + ":__support_fputil_polyeval", + ":__support_fputil_rounding_mode", + ":__support_fputil_triple_double", + ":__support_macros_optimization", + ":common_constants", + ":explogxf", + ], +) + libc_math_function( name = "expf", additional_deps = [ @@ -1244,6 +1260,22 @@ ], ) +libc_math_function( + name = "exp2", + additional_deps = [ + ":__support_fputil_double_double", + ":__support_fputil_dyadic_float", + ":__support_fputil_multiply_add", + ":__support_fputil_nearest_integer", + ":__support_fputil_polyeval", + ":__support_fputil_rounding_mode", + ":__support_fputil_triple_double", + ":__support_macros_optimization", + ":common_constants", + ":explogxf", + ], +) + libc_math_function( name = "exp2f", additional_deps = [ 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 --- a/utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel +++ b/utils/bazel/llvm-project-overlay/libc/test/src/math/BUILD.bazel @@ -734,6 +734,27 @@ ], ) +math_test( + name = "erff", + deps = [ + "//libc/utils/MPFRWrapper:mpfr_wrapper", + ], +) + +math_test( + name = "exp", + deps = [ + "//libc/utils/MPFRWrapper:mpfr_wrapper", + ], +) + +math_test( + name = "exp2", + deps = [ + "//libc/utils/MPFRWrapper:mpfr_wrapper", + ], +) + math_test( name = "fmod", hdrs = ["FModTest.h"],