RetroArch
Classes | Namespaces | Enumerations | Functions
hex_float.h File Reference
#include <cassert>
#include <cctype>
#include <cmath>
#include <cstdint>
#include <iomanip>
#include <limits>
#include <sstream>
#include "bitutils.h"
Include dependency graph for hex_float.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  spvutils::Float16
 
struct  spvutils::FloatProxyTraits< T >
 
struct  spvutils::FloatProxyTraits< float >
 
struct  spvutils::FloatProxyTraits< double >
 
struct  spvutils::FloatProxyTraits< Float16 >
 
class  spvutils::FloatProxy< T >
 
struct  spvutils::HexFloatTraits< T >
 
struct  spvutils::HexFloatTraits< FloatProxy< float > >
 
struct  spvutils::HexFloatTraits< FloatProxy< double > >
 
struct  spvutils::HexFloatTraits< FloatProxy< Float16 > >
 
class  spvutils::HexFloat< T, Traits >
 

Namespaces

 spvutils
 

Enumerations

enum  spvutils::round_direction { spvutils::kRoundToZero, spvutils::kRoundToNearestEven, spvutils::kRoundToPositiveInfinity, spvutils::kRoundToNegativeInfinity }
 

Functions

template<typename T >
bool spvutils::operator== (const FloatProxy< T > &first, const FloatProxy< T > &second)
 
template<typename T >
std::istream & spvutils::operator>> (std::istream &is, FloatProxy< T > &value)
 
uint8_t spvutils::get_nibble_from_character (int character)
 
template<typename T , typename Traits >
std::ostream & spvutils::operator<< (std::ostream &os, const HexFloat< T, Traits > &value)
 
template<typename T , typename Traits >
bool spvutils::RejectParseDueToLeadingSign (std::istream &is, bool negate_value, HexFloat< T, Traits > &value)
 
template<typename T , typename Traits >
std::istream & spvutils::ParseNormalFloat (std::istream &is, bool negate_value, HexFloat< T, Traits > &value)
 
template<>
std::istream & spvutils::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 & spvutils::operator>> (std::istream &is, HexFloat< T, Traits > &value)
 
template<typename T >
std::ostream & spvutils::operator<< (std::ostream &os, const FloatProxy< T > &value)
 
template<>
std::ostream & spvutils::operator<<<Float16 > (std::ostream &os, const FloatProxy< Float16 > &value)