openMSX
Public Member Functions | List of all members
DivModByConst< DIVISOR > Struct Template Reference

#include <DivModByConst.hh>

Public Member Functions

constexpr uint32_t div (uint64_t dividend) const
 
constexpr uint32_t mod (uint64_t dividend) const
 

Detailed Description

template<uint32_t DIVISOR>
struct DivModByConst< DIVISOR >

Definition at line 129 of file DivModByConst.hh.

Member Function Documentation

◆ div()

template<uint32_t DIVISOR>
constexpr uint32_t DivModByConst< DIVISOR >::div ( uint64_t  dividend) const
inlineconstexpr

◆ mod()

template<uint32_t DIVISOR>
constexpr uint32_t DivModByConst< DIVISOR >::mod ( uint64_t  dividend) const
inlineconstexpr

The documentation for this struct was generated from the following file: