File tree 2 files changed +6
-4
lines changed
libc/src/__support/FPUtil/generic
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -58,4 +58,5 @@ add_header_library(
58
58
libc.src.__support.FPUtil.fp_bits
59
59
libc.src.__support.FPUtil.dyadic_float
60
60
libc.src.__support.FPUtil.rounding_mode
61
+ libc.src.__support.macros .attributes
61
62
)
Original file line number Diff line number Diff line change 16
16
#include " src/__support/FPUtil/FPBits.h"
17
17
#include " src/__support/FPUtil/dyadic_float.h"
18
18
#include " src/__support/FPUtil/rounding_mode.h"
19
+ #include " src/__support/macros/attributes.h"
19
20
20
21
namespace LIBC_NAMESPACE ::fputil::generic {
21
22
22
23
template <typename OutType, typename InType>
23
- cpp::enable_if_t <cpp::is_floating_point_v<OutType> &&
24
- cpp::is_floating_point_v<InType> &&
25
- sizeof (OutType) <= sizeof (InType),
26
- OutType>
24
+ LIBC_INLINE cpp::enable_if_t <cpp::is_floating_point_v<OutType> &&
25
+ cpp::is_floating_point_v<InType> &&
26
+ sizeof (OutType) <= sizeof (InType),
27
+ OutType>
27
28
div (InType x, InType y) {
28
29
using OutFPBits = FPBits<OutType>;
29
30
using OutStorageType = typename OutFPBits::StorageType;
You can’t perform that action at this time.
0 commit comments