8
8
9
9
#pragma once
10
10
11
- #include < array>
12
- #include < limits>
13
11
#include " ccmath/internal/predef/unlikely.hpp"
14
12
#include " ccmath/math/compare/isinf.hpp"
15
13
#include " ccmath/math/compare/isnan.hpp"
14
+ #include < array>
15
+ #include < limits>
16
16
17
17
namespace ccm
18
18
{
@@ -98,7 +98,7 @@ namespace ccm
98
98
* @param x Floating-point value.
99
99
* @return If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes.
100
100
*/
101
- inline constexpr float fabsf (float num) noexcept
101
+ constexpr float fabsf (float num) noexcept
102
102
{
103
103
return abs<float >(num);
104
104
}
@@ -108,7 +108,7 @@ namespace ccm
108
108
* @param x Floating-point value.
109
109
* @return If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes.
110
110
*/
111
- inline constexpr long double fabsl (long double num) noexcept
111
+ constexpr long double fabsl (long double num) noexcept
112
112
{
113
113
return abs<long double >(num);
114
114
}
@@ -118,7 +118,7 @@ namespace ccm
118
118
* @param x Integer value.
119
119
* @return If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes.
120
120
*/
121
- inline constexpr long labs (long num) noexcept
121
+ constexpr long labs (long num) noexcept
122
122
{
123
123
return abs<long >(num);
124
124
}
@@ -128,7 +128,7 @@ namespace ccm
128
128
* @param x Integer value.
129
129
* @return If successful, returns the absolute value of arg (|arg|). The value returned is exact and does not depend on any rounding modes.
130
130
*/
131
- inline constexpr long long llabs (long long num) noexcept
131
+ constexpr long long llabs (long long num) noexcept
132
132
{
133
133
return abs<long long >(num);
134
134
}
0 commit comments