Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qcalendarmath_p.h File Reference

(bd3d08267940844eeabc104c6e8c5ddaaa546457)

#include <QtCore/private/qglobal_p.h>
#include <QtCore/QtAlgorithms>
+ Include dependency graph for qcalendarmath_p.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  QRoundingDown
 
namespace  QRoundingDown::QRoundingDownPrivate
 
namespace  QRomanCalendrical
 

Macros

#define QCALMATH_ISPOW2(b)   QRoundingDownPrivate::isPowerOfTwo(b)
 

Functions

template<typename Int >
constexpr bool QRoundingDown::QRoundingDownPrivate::isPowerOfTwo (Int b)
 
template<unsigned b, typename Int , std::enable_if_t<(int(b)< 2), bool > = true>
constexpr auto QRoundingDown::qDivMod (Int)
 
template<unsigned b, typename Int >
constexpr Int QRoundingDown::qDiv (Int a)
 
template<unsigned b, typename Int >
constexpr Int QRoundingDown::qMod (Int a)
 
constexpr auto QRomanCalendrical::yearMonthToYearDays (int year, int month)
 
constexpr auto QRomanCalendrical::dayInYearToYmd (int dayInYear)
 

Variables

constexpr qint64 QRomanCalendrical::LeapDayGregorian1Bce = 1721119
 
constexpr unsigned QRomanCalendrical::FourYears = 4 * 365 + 1
 
constexpr unsigned QRomanCalendrical::FiveMonths = 31 + 30 + 31 + 30 + 31
 

Macro Definition Documentation

◆ QCALMATH_ISPOW2

#define QCALMATH_ISPOW2 ( b)    QRoundingDownPrivate::isPowerOfTwo(b)

Definition at line 37 of file qcalendarmath_p.h.