SimulationCraft
SimulationCraft is a tool to explore combat mechanics in the popular MMO RPG World of Warcraft (tm).
detail::fp Struct Reference

Public Types

template<typename Float >
using is_supported = bool_constant< sizeof(Float)==sizeof(uint64_t)||sizeof(Float)==sizeof(uint32_t)>
 

Public Member Functions

constexpr fp (uint64_t f_val, int e_val)
 
template<typename Float >
FMT_CONSTEXPR fp (Float n)
 
template<typename Float , FMT_ENABLE_IF(is_supported< Float >::value) >
FMT_CONSTEXPR bool assign (Float n)
 
template<typename Float , FMT_ENABLE_IF(!is_supported< Float >::value) >
bool assign (Float)
 

Public Attributes

uint64_t f
 
int e
 

Static Public Attributes

static constexpr const int num_significand_bits = bits<decltype(f)>::value