openMSX
Public Types | Static Public Attributes | List of all members
DivModByConstPrivate::DBCReduce2Test< AH, AL, BH, BL, L > Struct Template Reference

#include <DivModByConst.hh>

Public Types

using S = DBCReduce2Shift< AH, AL, BH, BL >
 

Static Public Attributes

static constexpr bool C
 
static constexpr bool value = C && (L > 0)
 

Detailed Description

template<uint64_t AH, uint64_t AL, uint64_t BH, uint64_t BL, uint32_t L>
struct DivModByConstPrivate::DBCReduce2Test< AH, AL, BH, BL, L >

Definition at line 88 of file DivModByConst.hh.

Member Typedef Documentation

◆ S

template<uint64_t AH, uint64_t AL, uint64_t BH, uint64_t BL, uint32_t L>
using DivModByConstPrivate::DBCReduce2Test< AH, AL, BH, BL, L >::S = DBCReduce2Shift<AH, AL, BH, BL>

Definition at line 90 of file DivModByConst.hh.

Member Data Documentation

◆ C

template<uint64_t AH, uint64_t AL, uint64_t BH, uint64_t BL, uint32_t L>
constexpr bool DivModByConstPrivate::DBCReduce2Test< AH, AL, BH, BL, L >::C
static
Initial value:
= (S::AH2 != S::BH2) ? (S::AH2 < S::BH2)
: (S::AL2 < S::BL2)

Definition at line 91 of file DivModByConst.hh.

◆ value

template<uint64_t AH, uint64_t AL, uint64_t BH, uint64_t BL, uint32_t L>
constexpr bool DivModByConstPrivate::DBCReduce2Test< AH, AL, BH, BL, L >::value = C && (L > 0)
static

Definition at line 93 of file DivModByConst.hh.


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