Skip to content

Commit d1bf314

Browse files
committed
[libc][math] Refactor exp implementation to header-only in src/__support/math folder.
1 parent a76dfde commit d1bf314

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libc/shared/math.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,6 @@
2020
#include "math/ldexpf.h"
2121
#include "math/ldexpf128.h"
2222
#include "math/ldexpf16.h"
23+
#include "math/exp.h"
2324

2425
#endif // LLVM_LIBC_SHARED_MATH_H

libc/src/math/generic/common_constants.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#include "src/__support/macros/config.h"
1414
#include "src/__support/math/exp_constants.h"
1515
#include "src/__support/number_pair.h"
16+
#include "src/__support/math/exp_constants.h"
17+
1618

1719
namespace LIBC_NAMESPACE_DECL {
1820

0 commit comments

Comments
 (0)