struct BackendFixed
Declaration
template <class FT, class ET>
struct BackendFixed { /* full declaration omitted */ };Description
Fixed Backend for Posit
Declared at: include/backends/fixed.hpp:27
Templates
- FT
- FixedTrait class to specify fixed-point number of bits
- ET
- ExponentType used to construct the underlying UnpackedPosit
Member Variables
- public posit::BackendFixed::value_t v
Method Overview
- public BackendFixed<FT, ET>(posit::BackendFixed::raw_tag, posit::BackendFixed::value_t x)
- public BackendFixed<FT, ET>(posit::BackendFixed::OBE u)
- public BackendFixed<FT, ET>(double x)
- public BackendFixed<FT, ET>(float x)
- public BackendFixed<FT, ET>(long long x)
- public BackendFixed<FT, ET>(long x)
- public BackendFixed<FT, ET>(int x)
- public BackendFixed<FT, ET>(posit::BackendFixed::single_tag, uint32_t x)
- public BackendFixed<FT, ET>()
- public static BackendFixed<FT, ET> fromraw(posit::BackendFixed::value_t v)
- public template <class XFT>static BackendFixed<FT, ET> make_floati(typename XFT::holder_t x)
- public posit::BackendFixed::OBE operator Unpacked<unsigned int, type-parameter-0-1>() const
- public constexpr double operator double() const
- public constexpr float operator float() const
- public constexpr int operator int() const
- public constexpr long operator long() const
- public constexpr long long operator long long() const
Methods
¶BackendFixed<FT, ET>(
posit::BackendFixed::raw_tag,
posit::BackendFixed::value_t x)
BackendFixed<FT, ET>(
posit::BackendFixed::raw_tag,
posit::BackendFixed::value_t x)Declared at: include/backends/fixed.hpp:36
Parameters
- posit::BackendFixed::raw_tag
- posit::BackendFixed::value_t x
¶BackendFixed<FT, ET>(posit::BackendFixed::OBE u)
BackendFixed<FT, ET>(posit::BackendFixed::OBE u)Declared at: include/backends/fixed.hpp:44
Parameters
- posit::BackendFixed::OBE u
¶BackendFixed<FT, ET>(double x)
BackendFixed<FT, ET>(double x)Declared at: include/backends/fixed.hpp:43
Parameters
- double x
¶BackendFixed<FT, ET>(float x)
BackendFixed<FT, ET>(float x)Declared at: include/backends/fixed.hpp:42
Parameters
- float x
¶BackendFixed<FT, ET>(long long x)
BackendFixed<FT, ET>(long long x)Declared at: include/backends/fixed.hpp:40
Parameters
- long long x
¶BackendFixed<FT, ET>(long x)
BackendFixed<FT, ET>(long x)Declared at: include/backends/fixed.hpp:39
Parameters
- long x
¶BackendFixed<FT, ET>(int x)
BackendFixed<FT, ET>(int x)Declared at: include/backends/fixed.hpp:38
Parameters
- int x
¶BackendFixed<FT, ET>(
posit::BackendFixed::single_tag,
uint32_t x)
BackendFixed<FT, ET>(
posit::BackendFixed::single_tag,
uint32_t x)Declared at: include/backends/fixed.hpp:37
Parameters
- posit::BackendFixed::single_tag
- uint32_t x
¶BackendFixed<FT, ET>()
BackendFixed<FT, ET>()Declared at: include/backends/fixed.hpp:35
¶static BackendFixed<FT, ET> fromraw(
posit::BackendFixed::value_t v)
static BackendFixed<FT, ET> fromraw(
posit::BackendFixed::value_t v)Declared at: include/backends/fixed.hpp:49
Parameters
- posit::BackendFixed::value_t v
¶template <class XFT>
static BackendFixed<FT, ET> make_floati(
typename XFT::holder_t x)
template <class XFT>
static BackendFixed<FT, ET> make_floati(
typename XFT::holder_t x)Declared at: include/backends/fixed.hpp:47
Templates
- XFT
Parameters
- typename XFT::holder_t x
¶posit::BackendFixed::OBE operator Unpacked<
unsigned int,
type - parameter - 0 - 1>() const
posit::BackendFixed::OBE operator Unpacked<
unsigned int,
type - parameter - 0 - 1>() constDeclared at: include/backends/fixed.hpp:51
¶constexpr double operator double() const
constexpr double operator double() constDeclared at: include/backends/fixed.hpp:53
¶constexpr float operator float() const
constexpr float operator float() constDeclared at: include/backends/fixed.hpp:52
¶constexpr int operator int() const
constexpr int operator int() constDeclared at: include/backends/fixed.hpp:54
¶constexpr long operator long() const
constexpr long operator long() constDeclared at: include/backends/fixed.hpp:55
¶constexpr long long operator long long() const
constexpr long long operator long long() constDeclared at: include/backends/fixed.hpp:56