sparrow 1.4.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
Loading...
Searching...
No Matches
primesum::int256_t Class Reference

#include <int256_t.hpp>

Public Member Functions

 int256_t ()
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
 int256_t (T x)
 
bool operator== (const int256_t &other) const
 
bool operator!= (const int256_t &other) const
 
bool operator< (const int256_t &other) const
 
bool operator<= (const int256_t &other) const
 
bool operator> (const int256_t &other) const
 
bool operator>= (const int256_t &other) const
 
int256_t operator+ () const
 
int256_t operator- () const
 
int256_t operator~ () const
 
int256_toperator-- ()
 
int256_toperator++ ()
 
int256_t operator-- (int)
 
int256_t operator++ (int)
 
int256_t operator+ (const int256_t &other) const
 
int256_t operator- (const int256_t &other) const
 
int256_t operator* (const int256_t &other) const
 
int256_t operator/ (const int256_t &other) const
 
int256_t operator% (const int256_t &other) const
 
int256_t operator& (const int256_t &other) const
 
int256_t operator| (const int256_t &other) const
 
int256_t operator^ (const int256_t &other) const
 
int256_t operator<< (std::size_t bits) const
 
int256_t operator>> (std::size_t bits) const
 
int256_toperator+= (const int256_t &other)
 
int256_toperator-= (const int256_t &other)
 
int256_toperator*= (const int256_t &other)
 
int256_toperator/= (const int256_t &other)
 
int256_toperator%= (const int256_t &other)
 
int256_toperator&= (const int256_t &other)
 
int256_toperator|= (const int256_t &other)
 
int256_toperator^= (const int256_t &other)
 
int256_toperator<<= (std::size_t bits)
 
int256_toperator>>= (std::size_t bits)
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool operator== (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool operator!= (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool operator< (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool operator<= (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool operator> (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool operator>= (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t operator+ (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t operator- (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t operator* (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t operator/ (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t operator% (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t operator& (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t operator| (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t operator^ (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t operator<< (T x) const
 
template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t operator>> (T x) const
 
 operator std::int8_t () const
 
 operator std::int16_t () const
 
 operator std::int32_t () const
 
 operator std::int64_t () const
 
 operator int128_t () const
 
 operator std::uint8_t () const
 
 operator std::uint16_t () const
 
 operator std::uint32_t () const
 
 operator std::uint64_t () const
 
 operator uint128_t () const
 

Friends

std::ostream & operator<< (std::ostream &out, int256_t n)
 

Detailed Description

Definition at line 40 of file int256_t.hpp.

Constructor & Destructor Documentation

◆ int256_t() [1/2]

primesum::int256_t::int256_t ( )
inline

Definition at line 43 of file int256_t.hpp.

◆ int256_t() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
primesum::int256_t::int256_t ( T x)
inline

Definition at line 51 of file int256_t.hpp.

Member Function Documentation

◆ operator int128_t()

primesum::int256_t::operator int128_t ( ) const
inlineexplicit

Definition at line 442 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator std::int16_t()

primesum::int256_t::operator std::int16_t ( ) const
inlineexplicit

Definition at line 419 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator std::int32_t()

primesum::int256_t::operator std::int32_t ( ) const
inlineexplicit

Definition at line 426 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator std::int64_t()

primesum::int256_t::operator std::int64_t ( ) const
inlineexplicit

Definition at line 434 of file int256_t.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator std::int8_t()

primesum::int256_t::operator std::int8_t ( ) const
inlineexplicit

Definition at line 412 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator std::uint16_t()

primesum::int256_t::operator std::uint16_t ( ) const
inlineexplicit

Definition at line 455 of file int256_t.hpp.

◆ operator std::uint32_t()

primesum::int256_t::operator std::uint32_t ( ) const
inlineexplicit

Definition at line 460 of file int256_t.hpp.

◆ operator std::uint64_t()

primesum::int256_t::operator std::uint64_t ( ) const
inlineexplicit

Definition at line 465 of file int256_t.hpp.

◆ operator std::uint8_t()

primesum::int256_t::operator std::uint8_t ( ) const
inlineexplicit

Definition at line 450 of file int256_t.hpp.

◆ operator uint128_t()

primesum::int256_t::operator uint128_t ( ) const
inlineexplicit

Definition at line 470 of file int256_t.hpp.

◆ operator!=() [1/2]

bool primesum::int256_t::operator!= ( const int256_t & other) const
inline

Definition at line 63 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator!=() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool primesum::int256_t::operator!= ( T x) const
inline

Definition at line 309 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator%() [1/2]

int256_t primesum::int256_t::operator% ( const int256_t & other) const
inline

Definition at line 201 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator%() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t primesum::int256_t::operator% ( T x) const
inline

Definition at line 372 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator%=()

int256_t & primesum::int256_t::operator%= ( const int256_t & other)
inline

Definition at line 264 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator&() [1/2]

int256_t primesum::int256_t::operator& ( const int256_t & other) const
inline

Definition at line 206 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator&() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t primesum::int256_t::operator& ( T x) const
inline

Definition at line 379 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator&=()

int256_t & primesum::int256_t::operator&= ( const int256_t & other)
inline

Definition at line 270 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator*() [1/2]

int256_t primesum::int256_t::operator* ( const int256_t & other) const
inline

Definition at line 166 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator*() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t primesum::int256_t::operator* ( T x) const
inline

Definition at line 358 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator*=()

int256_t & primesum::int256_t::operator*= ( const int256_t & other)
inline

Definition at line 252 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator+() [1/3]

int256_t primesum::int256_t::operator+ ( ) const
inline

Definition at line 91 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator+() [2/3]

int256_t primesum::int256_t::operator+ ( const int256_t & other) const
inline

Definition at line 140 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator+() [3/3]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t primesum::int256_t::operator+ ( T x) const
inline

Definition at line 344 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator++() [1/2]

int256_t & primesum::int256_t::operator++ ( )
inline

Definition at line 117 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator++() [2/2]

int256_t primesum::int256_t::operator++ ( int )
inline

Definition at line 133 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator+=()

int256_t & primesum::int256_t::operator+= ( const int256_t & other)
inline

Definition at line 240 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator-() [1/3]

int256_t primesum::int256_t::operator- ( ) const
inline

Definition at line 96 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator-() [2/3]

int256_t primesum::int256_t::operator- ( const int256_t & other) const
inline

Definition at line 153 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator-() [3/3]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t primesum::int256_t::operator- ( T x) const
inline

Definition at line 351 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator--() [1/2]

int256_t & primesum::int256_t::operator-- ( )
inline

Definition at line 108 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator--() [2/2]

int256_t primesum::int256_t::operator-- ( int )
inline

Definition at line 126 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator-=()

int256_t & primesum::int256_t::operator-= ( const int256_t & other)
inline

Definition at line 246 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator/() [1/2]

int256_t primesum::int256_t::operator/ ( const int256_t & other) const
inline

Definition at line 196 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator/() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t primesum::int256_t::operator/ ( T x) const
inline

Definition at line 365 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator/=()

int256_t & primesum::int256_t::operator/= ( const int256_t & other)
inline

Definition at line 258 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator<() [1/2]

bool primesum::int256_t::operator< ( const int256_t & other) const
inline

Definition at line 68 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator<() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool primesum::int256_t::operator< ( T x) const
inline

Definition at line 316 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator<<() [1/2]

int256_t primesum::int256_t::operator<< ( std::size_t bits) const
inline

Definition at line 224 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator<<() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t primesum::int256_t::operator<< ( T x) const
inline

Definition at line 400 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator<<=()

int256_t & primesum::int256_t::operator<<= ( std::size_t bits)
inline

Definition at line 288 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator<=() [1/2]

bool primesum::int256_t::operator<= ( const int256_t & other) const
inline

Definition at line 76 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator<=() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool primesum::int256_t::operator<= ( T x) const
inline

Definition at line 323 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator==() [1/2]

bool primesum::int256_t::operator== ( const int256_t & other) const
inline

Definition at line 57 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator==() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool primesum::int256_t::operator== ( T x) const
inline

Definition at line 302 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator>() [1/2]

bool primesum::int256_t::operator> ( const int256_t & other) const
inline

Definition at line 81 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator>() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool primesum::int256_t::operator> ( T x) const
inline

Definition at line 330 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator>=() [1/2]

bool primesum::int256_t::operator>= ( const int256_t & other) const
inline

Definition at line 86 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator>=() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
bool primesum::int256_t::operator>= ( T x) const
inline

Definition at line 337 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator>>() [1/2]

int256_t primesum::int256_t::operator>> ( std::size_t bits) const
inline

Definition at line 232 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator>>() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t primesum::int256_t::operator>> ( T x) const
inline

Definition at line 407 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator>>=()

int256_t & primesum::int256_t::operator>>= ( std::size_t bits)
inline

Definition at line 294 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator^() [1/2]

int256_t primesum::int256_t::operator^ ( const int256_t & other) const
inline

Definition at line 218 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator^() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t primesum::int256_t::operator^ ( T x) const
inline

Definition at line 393 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator^=()

int256_t & primesum::int256_t::operator^= ( const int256_t & other)
inline

Definition at line 282 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator|() [1/2]

int256_t primesum::int256_t::operator| ( const int256_t & other) const
inline

Definition at line 212 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator|() [2/2]

template<typename T, typename = typename std::enable_if<prt::is_integral<T>::value>::type>
int256_t primesum::int256_t::operator| ( T x) const
inline

Definition at line 386 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator|=()

int256_t & primesum::int256_t::operator|= ( const int256_t & other)
inline

Definition at line 276 of file int256_t.hpp.

Here is the call graph for this function:

◆ operator~()

int256_t primesum::int256_t::operator~ ( ) const
inline

Definition at line 103 of file int256_t.hpp.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & out,
int256_t n )
friend

Definition at line 625 of file int256_t.hpp.


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