|
BenBot 1.7.5
A chess engine
|
Files | |
| file | Math.hpp |
Namespaces | |
| namespace | util |
| namespace | util::math |
Functions | |
| template<std::integral T> | |
| constexpr auto | util::math::is_even (const T value) noexcept -> bool |
| auto | util::math::mul_hi64 (uint64_t first, uint64_t second) noexcept -> uint64_t |
General maths utility functions used throughout the code.
|
nodiscardconstexprnoexcept |
|
nodiscardnoexcept |
Multiplies the two integers and returns the highest 64 bits of the 128-bit result as a 64-bit integer.