RetroArch
Classes | Enumerations | Functions
spvutils Namespace Reference

Classes

class  Float16
 
class  FloatProxy
 
struct  FloatProxyTraits
 
struct  FloatProxyTraits< double >
 
struct  FloatProxyTraits< float >
 
struct  FloatProxyTraits< Float16 >
 
class  HexFloat
 
struct  HexFloatTraits
 
struct  HexFloatTraits< FloatProxy< double > >
 
struct  HexFloatTraits< FloatProxy< float > >
 
struct  HexFloatTraits< FloatProxy< Float16 > >
 
struct  SetBits
 
struct  SetBits< T, Last, 0 >
 

Enumerations

enum  round_direction { kRoundToZero, kRoundToNearestEven, kRoundToPositiveInfinity, kRoundToNegativeInfinity }
 

Functions

template<typename Dest , typename Src >
Dest BitwiseCast (Src source)
 
template<typename T >
bool operator== (const FloatProxy< T > &first, const FloatProxy< T > &second)
 
template<typename T >
std::istream & operator>> (std::istream &is, FloatProxy< T > &value)
 
uint8_t get_nibble_from_character (int character)
 
template<typename T , typename Traits >
std::ostream & operator<< (std::ostream &os, const HexFloat< T, Traits > &value)
 
template<typename T , typename Traits >
bool RejectParseDueToLeadingSign (std::istream &is, bool negate_value, HexFloat< T, Traits > &value)
 
template<typename T , typename Traits >
std::istream & ParseNormalFloat (std::istream &is, bool negate_value, HexFloat< T, Traits > &value)
 
template<>
std::istream & ParseNormalFloat< FloatProxy< Float16 >, HexFloatTraits< FloatProxy< Float16 > > > (std::istream &is, bool negate_value, HexFloat< FloatProxy< Float16 >, HexFloatTraits< FloatProxy< Float16 >>> &value)
 
template<typename T , typename Traits >
std::istream & operator>> (std::istream &is, HexFloat< T, Traits > &value)
 
template<typename T >
std::ostream & operator<< (std::ostream &os, const FloatProxy< T > &value)
 
template<>
std::ostream & operator<<<Float16 > (std::ostream &os, const FloatProxy< Float16 > &value)
 

Enumeration Type Documentation

◆ round_direction

Enumerator
kRoundToZero 
kRoundToNearestEven 
kRoundToPositiveInfinity 
kRoundToNegativeInfinity 

Function Documentation

◆ BitwiseCast()

template<typename Dest , typename Src >
Dest spvutils::BitwiseCast ( Src  source)
Here is the call graph for this function:

◆ get_nibble_from_character()

uint8_t spvutils::get_nibble_from_character ( int  character)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator<<() [1/2]

template<typename T , typename Traits >
std::ostream& spvutils::operator<< ( std::ostream &  os,
const HexFloat< T, Traits > &  value 
)
Here is the call graph for this function:

◆ operator<<() [2/2]

template<typename T >
std::ostream& spvutils::operator<< ( std::ostream &  os,
const FloatProxy< T > &  value 
)

◆ operator<<<Float16 >()

template<>
std::ostream& spvutils::operator<<<Float16 > ( std::ostream &  os,
const FloatProxy< Float16 > &  value 
)
inline

◆ operator==()

template<typename T >
bool spvutils::operator== ( const FloatProxy< T > &  first,
const FloatProxy< T > &  second 
)
Here is the call graph for this function:

◆ operator>>() [1/2]

template<typename T >
std::istream& spvutils::operator>> ( std::istream &  is,
FloatProxy< T > &  value 
)

◆ operator>>() [2/2]

template<typename T , typename Traits >
std::istream& spvutils::operator>> ( std::istream &  is,
HexFloat< T, Traits > &  value 
)
Here is the call graph for this function:

◆ ParseNormalFloat()

template<typename T , typename Traits >
std::istream& spvutils::ParseNormalFloat ( std::istream &  is,
bool  negate_value,
HexFloat< T, Traits > &  value 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ParseNormalFloat< FloatProxy< Float16 >, HexFloatTraits< FloatProxy< Float16 > > >()

template<>
std::istream& spvutils::ParseNormalFloat< FloatProxy< Float16 >, HexFloatTraits< FloatProxy< Float16 > > > ( std::istream &  is,
bool  negate_value,
HexFloat< FloatProxy< Float16 >, HexFloatTraits< FloatProxy< Float16 >>> &  value 
)
inline
Here is the call graph for this function:

◆ RejectParseDueToLeadingSign()

template<typename T , typename Traits >
bool spvutils::RejectParseDueToLeadingSign ( std::istream &  is,
bool  negate_value,
HexFloat< T, Traits > &  value 
)
inline
Here is the caller graph for this function: