Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QRoundingDown Namespace Reference

Namespaces

namespace  QRoundingDownPrivate

Functions

template<unsigned b, typename Int, std::enable_if_t<(int(b)< 2), bool > = true>
constexpr auto qDivMod (Int)
template<unsigned b, typename Int, std::enable_if_t<(b > 1) &&!QCALMATH_ISPOW2(b) &&(int(b) > 0), bool > = true>
constexpr auto qDivMod (Int a)
template<unsigned b, typename Int, std::enable_if_t<(b > 1) &&QCALMATH_ISPOW2(b) &&(int(b) > 0), bool > = true>
constexpr auto qDivMod (Int a)
template<unsigned b, typename Int>
constexpr Int qDiv (Int a)
template<unsigned b, typename Int>
constexpr Int qMod (Int a)

Function Documentation

◆ qDiv()

template<unsigned b, typename Int>
Int QRoundingDown::qDiv ( Int a)
constexpr

Definition at line 104 of file qcalendarmath_p.h.

◆ qDivMod() [1/3]

template<unsigned b, typename Int, std::enable_if_t<(b > 1) &&!QCALMATH_ISPOW2(b) &&(int(b) > 0), bool > = true>
auto QRoundingDown::qDivMod ( Int a)
constexpr

Definition at line 75 of file qcalendarmath_p.h.

◆ qDivMod() [2/3]

template<unsigned b, typename Int, std::enable_if_t<(b > 1) &&QCALMATH_ISPOW2(b) &&(int(b) > 0), bool > = true>
auto QRoundingDown::qDivMod ( Int a)
constexpr

Definition at line 90 of file qcalendarmath_p.h.

◆ qDivMod() [3/3]

template<unsigned b, typename Int, std::enable_if_t<(int(b)< 2), bool > = true>
auto QRoundingDown::qDivMod ( Int )
constexpr

Definition at line 62 of file qcalendarmath_p.h.

◆ qMod()

template<unsigned b, typename Int>
Int QRoundingDown::qMod ( Int a)
constexpr

Definition at line 105 of file qcalendarmath_p.h.