TLFloat
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tlfloat_octuple Struct Reference

#include <tlfloat/tlfloat.h>

Collaboration diagram for tlfloat_octuple:
Collaboration graph
[legend]

Public Member Functions

 tlfloat_octuple ()
 
 tlfloat_octuple (const tlfloat_octuple_ &v)
 
 operator tlfloat_octuple_ () const
 
 tlfloat_octuple (const tlfloat_quad &v)
 
 operator tlfloat_quad () const
 
 tlfloat_octuple (const double &d)
 
 operator double () const
 
template<typename T , typename std::enable_if<(std::is_integral< T >::value &&(sizeof(T)< 8||!std::is_unsigned< T >::value)), int >::type = 0>
 tlfloat_octuple (const T &i)
 
template<typename T , typename std::enable_if<(std::is_integral< T >::value &&std::is_unsigned< T >::value &&sizeof(T)==8), int >::type = 0>
 tlfloat_octuple (const T &u)
 
template<typename T , typename std::enable_if<(std::is_integral< T >::value &&(sizeof(T)< 8||!std::is_unsigned< T >::value)), int >::type = 0>
 operator T () const
 
template<typename T , typename std::enable_if<(std::is_integral< T >::value &&std::is_unsigned< T >::value &&sizeof(T)==8), int >::type = 0>
 operator T () const
 
 tlfloat_octuple (const tlfloat_int128_t_ &i)
 
 tlfloat_octuple (const tlfloat_uint128_t_ &u)
 
 operator tlfloat_int128_t_ () const
 
 operator tlfloat_uint128_t_ () const
 
 tlfloat_octuple (const struct tlfloat_int128_t &i)
 
 tlfloat_octuple (const struct tlfloat_uint128_t &u)
 
tlfloat_octuple operator+ (const tlfloat_octuple &rhs) const
 
tlfloat_octuple operator- (const tlfloat_octuple &rhs) const
 
tlfloat_octuple operator* (const tlfloat_octuple &rhs) const
 
tlfloat_octuple operator/ (const tlfloat_octuple &rhs) const
 
tlfloat_octuple operator- () const
 
tlfloat_octuple operator+ () const
 
bool operator== (const tlfloat_octuple &rhs) const
 
bool operator!= (const tlfloat_octuple &rhs) const
 
bool operator< (const tlfloat_octuple &rhs) const
 
bool operator<= (const tlfloat_octuple &rhs) const
 
bool operator> (const tlfloat_octuple &rhs) const
 
bool operator>= (const tlfloat_octuple &rhs) const
 
tlfloat_octupleoperator++ ()
 
tlfloat_octupleoperator-- ()
 
tlfloat_octuple operator++ (int)
 
tlfloat_octuple operator-- (int)
 

Public Attributes

tlfloat_octuple_ value
 

Detailed Description

tlfloat_octuple is a trivially copyable type for handling octuple-precision IEEE floating-point numbers in C and older C++11. The data size and data structure of this type are the same as an octuple-precision floating-point number. When compling C code, this type is an alias for tlfloat_octuple_. When compling C++ code, this is a struct encapsulating a tlfloat_octuple_ variable with operators overloaded.

Constructor & Destructor Documentation

◆ tlfloat_octuple() [1/10]

tlfloat_octuple::tlfloat_octuple ( )
inline

◆ tlfloat_octuple() [2/10]

tlfloat_octuple::tlfloat_octuple ( const tlfloat_octuple_ v)
inline

◆ tlfloat_octuple() [3/10]

tlfloat_octuple::tlfloat_octuple ( const tlfloat_quad v)
inline

◆ tlfloat_octuple() [4/10]

tlfloat_octuple::tlfloat_octuple ( const double &  d)
inline

◆ tlfloat_octuple() [5/10]

template<typename T , typename std::enable_if<(std::is_integral< T >::value &&(sizeof(T)< 8||!std::is_unsigned< T >::value)), int >::type = 0>
tlfloat_octuple::tlfloat_octuple ( const T &  i)
inline

◆ tlfloat_octuple() [6/10]

template<typename T , typename std::enable_if<(std::is_integral< T >::value &&std::is_unsigned< T >::value &&sizeof(T)==8), int >::type = 0>
tlfloat_octuple::tlfloat_octuple ( const T &  u)
inline

◆ tlfloat_octuple() [7/10]

tlfloat_octuple::tlfloat_octuple ( const tlfloat_int128_t_ i)
inline

◆ tlfloat_octuple() [8/10]

tlfloat_octuple::tlfloat_octuple ( const tlfloat_uint128_t_ u)
inline

◆ tlfloat_octuple() [9/10]

tlfloat_octuple::tlfloat_octuple ( const struct tlfloat_int128_t i)
inline

◆ tlfloat_octuple() [10/10]

tlfloat_octuple::tlfloat_octuple ( const struct tlfloat_uint128_t u)
inline

Member Function Documentation

◆ operator double()

tlfloat_octuple::operator double ( ) const
inlineexplicit

◆ operator T() [1/2]

template<typename T , typename std::enable_if<(std::is_integral< T >::value &&(sizeof(T)< 8||!std::is_unsigned< T >::value)), int >::type = 0>
tlfloat_octuple::operator T ( ) const
inlineexplicit

◆ operator T() [2/2]

template<typename T , typename std::enable_if<(std::is_integral< T >::value &&std::is_unsigned< T >::value &&sizeof(T)==8), int >::type = 0>
tlfloat_octuple::operator T ( ) const
inlineexplicit

◆ operator tlfloat_int128_t_()

tlfloat_octuple::operator tlfloat_int128_t_ ( ) const
inlineexplicit

◆ operator tlfloat_octuple_()

tlfloat_octuple::operator tlfloat_octuple_ ( ) const
inline

◆ operator tlfloat_quad()

tlfloat_octuple::operator tlfloat_quad ( ) const
inlineexplicit

◆ operator tlfloat_uint128_t_()

tlfloat_octuple::operator tlfloat_uint128_t_ ( ) const
inlineexplicit

◆ operator!=()

bool tlfloat_octuple::operator!= ( const tlfloat_octuple rhs) const
inline

◆ operator*()

tlfloat_octuple tlfloat_octuple::operator* ( const tlfloat_octuple rhs) const
inline

◆ operator+() [1/2]

tlfloat_octuple tlfloat_octuple::operator+ ( ) const
inline

◆ operator+() [2/2]

tlfloat_octuple tlfloat_octuple::operator+ ( const tlfloat_octuple rhs) const
inline

◆ operator++() [1/2]

tlfloat_octuple & tlfloat_octuple::operator++ ( )
inline

◆ operator++() [2/2]

tlfloat_octuple tlfloat_octuple::operator++ ( int  )
inline

◆ operator-() [1/2]

tlfloat_octuple tlfloat_octuple::operator- ( ) const
inline

◆ operator-() [2/2]

tlfloat_octuple tlfloat_octuple::operator- ( const tlfloat_octuple rhs) const
inline

◆ operator--() [1/2]

tlfloat_octuple & tlfloat_octuple::operator-- ( )
inline

◆ operator--() [2/2]

tlfloat_octuple tlfloat_octuple::operator-- ( int  )
inline

◆ operator/()

tlfloat_octuple tlfloat_octuple::operator/ ( const tlfloat_octuple rhs) const
inline

◆ operator<()

bool tlfloat_octuple::operator< ( const tlfloat_octuple rhs) const
inline

◆ operator<=()

bool tlfloat_octuple::operator<= ( const tlfloat_octuple rhs) const
inline

◆ operator==()

bool tlfloat_octuple::operator== ( const tlfloat_octuple rhs) const
inline

◆ operator>()

bool tlfloat_octuple::operator> ( const tlfloat_octuple rhs) const
inline

◆ operator>=()

bool tlfloat_octuple::operator>= ( const tlfloat_octuple rhs) const
inline

Member Data Documentation

◆ value

tlfloat_octuple_ tlfloat_octuple::value

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