diff options
Diffstat (limited to 'libc/shared')
-rw-r--r-- | libc/shared/math.h | 1 | ||||
-rw-r--r-- | libc/shared/math/exp2f.h | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/libc/shared/math.h b/libc/shared/math.h index 924d0cb..1262fa6 100644 --- a/libc/shared/math.h +++ b/libc/shared/math.h @@ -48,6 +48,7 @@ #include "math/exp10m1f.h" #include "math/exp10m1f16.h" #include "math/exp2.h" +#include "math/exp2f.h" #include "math/expf.h" #include "math/expf16.h" #include "math/frexpf.h" diff --git a/libc/shared/math/exp2f.h b/libc/shared/math/exp2f.h new file mode 100644 index 0000000..8c37cbb --- /dev/null +++ b/libc/shared/math/exp2f.h @@ -0,0 +1,23 @@ +//===-- Shared exp2f function -----------------------------------*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef LLVM_LIBC_SHARED_MATH_EXP2F_H +#define LLVM_LIBC_SHARED_MATH_EXP2F_H + +#include "shared/libc_common.h" +#include "src/__support/math/exp2f.h" + +namespace LIBC_NAMESPACE_DECL { +namespace shared { + +using math::exp2f; + +} // namespace shared +} // namespace LIBC_NAMESPACE_DECL + +#endif // LLVM_LIBC_SHARED_MATH_EXP2F_H |