Class fp

Class Documentation

class fp

Public Functions

fp()
fp(uint64_t f_val, int e_val)
template<typename Double>
fp(Double d)
template<typename Double, enable_if_t<(sizeof(Double) == sizeof(uint64_t)), int> = 0>
bool assign(Double d)
template<typename Double, enable_if_t<(sizeof(Double) != sizeof(uint64_t)), int> = 0>
bool assign(Double)
template<typename Double>
boundaries assign_with_boundaries(Double d)
template<typename Double>
boundaries assign_float_with_boundaries(Double d)

Public Members

significand_type f
int e

Public Static Attributes

const int significand_size = bits<significand_type>::value

Friends

template<int SHIFT>
fp normalize(fp value)