File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
utils/bazel/llvm-project-overlay/libc Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 10
10
#define LLVM_LIBC_SHARED_MATH_FREXPF128_H
11
11
12
12
#include " include/llvm-libc-types/float128.h"
13
+
14
+ #ifdef LIBC_TYPES_HAS_FLOAT128
15
+
13
16
#include " shared/libc_common.h"
14
17
#include " src/__support/macros/properties/complex_types.h"
15
18
16
- #ifndef LIBC_TYPES_HAS_FLOAT128
17
- #error unsupported
18
- #endif
19
-
20
19
namespace LIBC_NAMESPACE_DECL {
21
20
namespace shared {
22
21
Original file line number Diff line number Diff line change 11
11
12
12
#include " include/llvm-libc-types/float128.h"
13
13
14
- #ifndef LIBC_TYPES_HAS_FLOAT128
15
- #error unsupported
16
- #else
14
+ #ifdef LIBC_TYPES_HAS_FLOAT128
17
15
18
16
#include " src/__support/FPUtil/ManipulationFunctions.h"
19
17
#include " src/__support/common.h"
Original file line number Diff line number Diff line change @@ -2703,7 +2703,6 @@ libc_math_function(
2703
2703
name = "expf" ,
2704
2704
additional_deps = [
2705
2705
":__support_math_expf" ,
2706
- ":__support_math_frexpf128" ,
2707
2706
":errno" ,
2708
2707
],
2709
2708
)
@@ -3156,7 +3155,12 @@ libc_math_function(name = "frexpf")
3156
3155
3157
3156
libc_math_function (name = "frexpl" )
3158
3157
3159
- libc_math_function (name = "frexpf128" )
3158
+ libc_math_function (
3159
+ name = "frexpf128" ,
3160
+ additional_deps = [
3161
+ ":__support_math_frexpf128" ,
3162
+ ]
3163
+ )
3160
3164
3161
3165
libc_math_function (name = "frexpf16" )
3162
3166
You can’t perform that action at this time.
0 commit comments