openMSX
Static Public Attributes | List of all members
openmsx::Round< X, OLD, NEW > Struct Template Reference

Static Public Attributes

static constexpr unsigned result
 

Detailed Description

template<unsigned X, unsigned OLD, unsigned NEW>
struct openmsx::Round< X, OLD, NEW >

Definition at line 148 of file SaI3xScaler.cc.

Member Data Documentation

◆ result

template<unsigned X, unsigned OLD, unsigned NEW>
constexpr unsigned openmsx::Round< X, OLD, NEW >::result
staticconstexpr
Initial value:
=
(X >> (OLD - NEW)) + ((X >> (OLD - NEW - 1)) & 1)

Definition at line 150 of file SaI3xScaler.cc.


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