Skip to content

Commit f4630ba

Browse files
authored
Revert "[libc][math] Refactor exp implementation to header-only in src/__support/math folder." (#148668)
Reverts #148091 Full build bots are failing.
1 parent 4775b96 commit f4630ba

File tree

12 files changed

+677
-809
lines changed

12 files changed

+677
-809
lines changed

libc/shared/math.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
#include "libc_common.h"
1313

14-
#include "math/exp.h"
1514
#include "math/expf.h"
1615
#include "math/expf16.h"
1716
#include "math/frexpf.h"

libc/shared/math/exp.h

Lines changed: 0 additions & 23 deletions
This file was deleted.

libc/src/__support/math/CMakeLists.txt

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -110,42 +110,3 @@ add_header_library(
110110
DEPENDS
111111
libc.src.__support.FPUtil.manipulation_functions
112112
)
113-
114-
add_header_library(
115-
exp_constants
116-
HDRS
117-
exp_constants.h
118-
DEPENDS
119-
libc.src.__support.FPUtil.triple_double
120-
)
121-
122-
add_header_library(
123-
exp_utils
124-
HDRS
125-
exp_utils.h
126-
DEPENDS
127-
libc.src.__support.CPP.optional
128-
libc.src.__support.CPP.bit
129-
libc.src.__support.FPUtil.fp_bits
130-
)
131-
132-
add_header_library(
133-
exp
134-
HDRS
135-
exp.h
136-
DEPENDS
137-
.exp_constants
138-
.exp_utils
139-
libc.src.__support.CPP.bit
140-
libc.src.__support.CPP.optional
141-
libc.src.__support.FPUtil.dyadic_float
142-
libc.src.__support.FPUtil.fenv_impl
143-
libc.src.__support.FPUtil.fp_bits
144-
libc.src.__support.FPUtil.multiply_add
145-
libc.src.__support.FPUtil.nearest_integer
146-
libc.src.__support.FPUtil.polyeval
147-
libc.src.__support.FPUtil.rounding_mode
148-
libc.src.__support.FPUtil.triple_double
149-
libc.src.__support.integer_literals
150-
libc.src.__support.macros.optimization
151-
)

0 commit comments

Comments
 (0)