Time Shield Library
C++ library for working with time
Loading...
Searching...
No Matches
mul_hi.hpp File Reference

Helpers for 64-bit multiply-high operations. More...

Go to the source code of this file.

Namespaces

namespace  time_shield
 Main namespace for the Time Shield library.
 
namespace  time_shield::detail
 

Functions

TIME_SHIELD_CONSTEXPR uint64_t time_shield::detail::mul_hi_u64_constexpr (uint64_t p_a, uint64_t p_b) noexcept
 Return the high 64 bits of a 64x64-bit multiplication (constexpr variant).
 
uint64_t time_shield::detail::mul_hi_u64 (uint64_t p_a, uint64_t p_b) noexcept
 Return the high 64 bits of a 64x64-bit multiplication.
 
uint64_t time_shield::detail::mul_shift_u64 (uint64_t p_x, uint64_t p_c) noexcept
 Alias for mul_hi_u64 used for shift-by-64 operations.
 
TIME_SHIELD_CONSTEXPR uint64_t time_shield::detail::mul_shift_u64_constexpr (uint64_t p_x, uint64_t p_c) noexcept
 Alias for mul_hi_u64_constexpr used for shift-by-64 operations.
 

Detailed Description

Helpers for 64-bit multiply-high operations.

Definition in file mul_hi.hpp.