diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-11-02 11:05:18 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-11-02 11:05:18 +0800 |
| commit | 3cba709128fc153533e029226b3f09b1ae7ac18e (patch) | |
| tree | 6f2d752feb8ecc49bd35fb90146e3e1d4ae4bd6f /libbase/include/core/math/MathExtras.h | |
| parent | 47c262e7ea143311a9fea4b33c0ad24a0bcb83f5 (diff) | |
| download | rcc-project-master.tar.gz rcc-project-master.tar.xz | |
Diffstat (limited to 'libbase/include/core/math/MathExtras.h')
| -rw-r--r-- | libbase/include/core/math/MathExtras.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbase/include/core/math/MathExtras.h b/libbase/include/core/math/MathExtras.h index 880ba74..732f82c 100644 --- a/libbase/include/core/math/MathExtras.h +++ b/libbase/include/core/math/MathExtras.h @@ -45,7 +45,7 @@ #include <type_traits> #include <utility> -namespace rcc +namespace libbase { /// Some template parameter helpers to optimize for bitwidth, for functions that /// take multiple arguments. @@ -432,7 +432,7 @@ template <size_t kValue> constexpr size_t ConstantLog2 () { - static_assert (rcc::isPowerOf2_64 (kValue), + static_assert (libbase::isPowerOf2_64 (kValue), "Value is not a valid power of 2"); return std::countr_zero (kValue); } @@ -1045,6 +1045,6 @@ using stack_float_t = float; LIBBASE_ABI int NumDigitsBase10 (uint64_t X); -} // namespace rcc +} // namespace libbase #endif |
