WPILibC++ 2023.4.3-108-ge5452e3
detail::uint128_fallback Class Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/fmtlib/include/fmt/format.h>

Public Member Functions

constexpr uint128_fallback (uint64_t hi, uint64_t lo)
 
constexpr uint128_fallback (uint64_t value=0)
 
constexpr uint64_t high () const noexcept
 
constexpr uint64_t low () const noexcept
 
template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
constexpr operator T () const
 
FMT_CONSTEXPR auto operator>> (int shift) const -> uint128_fallback
 
FMT_CONSTEXPR auto operator<< (int shift) const -> uint128_fallback
 
FMT_CONSTEXPR auto operator>>= (int shift) -> uint128_fallback &
 
FMT_CONSTEXPR void operator+= (uint128_fallback n)
 
FMT_CONSTEXPR20 uint128_fallbackoperator+= (uint64_t n) noexcept
 

Friends

uint128_fallback umul128 (uint64_t x, uint64_t y) noexcept
 
constexpr auto operator== (const uint128_fallback &lhs, const uint128_fallback &rhs) -> bool
 
constexpr auto operator!= (const uint128_fallback &lhs, const uint128_fallback &rhs) -> bool
 
constexpr auto operator> (const uint128_fallback &lhs, const uint128_fallback &rhs) -> bool
 
constexpr auto operator| (const uint128_fallback &lhs, const uint128_fallback &rhs) -> uint128_fallback
 
constexpr auto operator& (const uint128_fallback &lhs, const uint128_fallback &rhs) -> uint128_fallback
 
auto operator+ (const uint128_fallback &lhs, const uint128_fallback &rhs) -> uint128_fallback
 
auto operator* (const uint128_fallback &lhs, uint32_t rhs) -> uint128_fallback
 
auto operator- (const uint128_fallback &lhs, uint64_t rhs) -> uint128_fallback
 

Constructor & Destructor Documentation

◆ uint128_fallback() [1/2]

constexpr detail::uint128_fallback::uint128_fallback ( uint64_t  hi,
uint64_t  lo 
)
inlineconstexpr

◆ uint128_fallback() [2/2]

constexpr detail::uint128_fallback::uint128_fallback ( uint64_t  value = 0)
inlineconstexpr

Member Function Documentation

◆ high()

constexpr uint64_t detail::uint128_fallback::high ( ) const
inlineconstexprnoexcept

◆ low()

constexpr uint64_t detail::uint128_fallback::low ( ) const
inlineconstexprnoexcept

◆ operator T()

template<typename T , FMT_ENABLE_IF(std::is_integral< T >::value) >
constexpr detail::uint128_fallback::operator T ( ) const
inlineexplicitconstexpr

◆ operator+=() [1/2]

FMT_CONSTEXPR void detail::uint128_fallback::operator+= ( uint128_fallback  n)
inline

◆ operator+=() [2/2]

FMT_CONSTEXPR20 uint128_fallback & detail::uint128_fallback::operator+= ( uint64_t  n)
inlinenoexcept

◆ operator<<()

FMT_CONSTEXPR auto detail::uint128_fallback::operator<< ( int  shift) const -> uint128_fallback
inline

◆ operator>>()

FMT_CONSTEXPR auto detail::uint128_fallback::operator>> ( int  shift) const -> uint128_fallback
inline

◆ operator>>=()

FMT_CONSTEXPR auto detail::uint128_fallback::operator>>= ( int  shift) -> uint128_fallback&
inline

Friends And Related Function Documentation

◆ operator!=

constexpr auto operator!= ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> bool
friend

◆ operator&

constexpr auto operator& ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> uint128_fallback
friend

◆ operator*

auto operator* ( const uint128_fallback lhs,
uint32_t  rhs 
) -> uint128_fallback
friend

◆ operator+

auto operator+ ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> uint128_fallback
friend

◆ operator-

auto operator- ( const uint128_fallback lhs,
uint64_t  rhs 
) -> uint128_fallback
friend

◆ operator==

constexpr auto operator== ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> bool
friend

◆ operator>

constexpr auto operator> ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> bool
friend

◆ operator|

constexpr auto operator| ( const uint128_fallback lhs,
const uint128_fallback rhs 
) -> uint128_fallback
friend

◆ umul128

uint128_fallback umul128 ( uint64_t  x,
uint64_t  y 
)
friend

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