struct TabulatedBackend
Declaration
template <class PTableTrait, class PositEmu, class PTable>
struct TabulatedBackend : public HwBaseBackend { /* full declaration omitted */ };Description
Tabulated Backend for posit
Declared at: include/backends/tabback.hpp:36
Inherits from: HwBaseBackend
Templates
- PTableTrait
- Posit Table trait
- PositEmu
- Posit type used for full-software emulation as a fallback
- PTable
- Posit Table class containing the tables used for the operations as static constexpr members
Member Variables
- public posit::TabulatedBackend::T v
- public static const posit::TabulatedBackend::T indexMask = (1 << type-parameter-0-0::nbits::value) - 1
Method Overview
- public TabulatedBackend<PTableTrait, PositEmu, PTable>()
- public TabulatedBackend<PTableTrait, PositEmu, PTable>(posit::TabulatedBackend::single_tag, posit::TabulatedBackend::T x)
- public TabulatedBackend<PTableTrait, PositEmu, PTable>(int x)
- public TabulatedBackend<PTableTrait, PositEmu, PTable>(long x)
- public TabulatedBackend<PTableTrait, PositEmu, PTable>(float x)
- public TabulatedBackend<PTableTrait, PositEmu, PTable>(double x)
- public constexpr double operator double() const
- public constexpr float operator float() const
- public constexpr int operator int() const
- public constexpr long operator long() const
Methods
¶TabulatedBackend<PTableTrait, PositEmu, PTable>()
TabulatedBackend<PTableTrait, PositEmu, PTable>()Declared at: include/backends/tabback.hpp:41
¶TabulatedBackend<PTableTrait, PositEmu, PTable>(
posit::TabulatedBackend::single_tag,
posit::TabulatedBackend::T x)
TabulatedBackend<PTableTrait, PositEmu, PTable>(
posit::TabulatedBackend::single_tag,
posit::TabulatedBackend::T x)Declared at: include/backends/tabback.hpp:42
Parameters
- posit::TabulatedBackend::single_tag
- posit::TabulatedBackend::T x
¶TabulatedBackend<PTableTrait, PositEmu, PTable>(
int x)
TabulatedBackend<PTableTrait, PositEmu, PTable>(
int x)Declared at: include/backends/tabback.hpp:44
Parameters
- int x
¶TabulatedBackend<PTableTrait, PositEmu, PTable>(
long x)
TabulatedBackend<PTableTrait, PositEmu, PTable>(
long x)Declared at: include/backends/tabback.hpp:45
Parameters
- long x
¶TabulatedBackend<PTableTrait, PositEmu, PTable>(
float x)
TabulatedBackend<PTableTrait, PositEmu, PTable>(
float x)Declared at: include/backends/tabback.hpp:46
Parameters
- float x
¶TabulatedBackend<PTableTrait, PositEmu, PTable>(
double x)
TabulatedBackend<PTableTrait, PositEmu, PTable>(
double x)Declared at: include/backends/tabback.hpp:47
Parameters
- double x
¶constexpr double operator double() const
constexpr double operator double() constDeclared at: include/backends/tabback.hpp:50
¶constexpr float operator float() const
constexpr float operator float() constDeclared at: include/backends/tabback.hpp:49
¶constexpr int operator int() const
constexpr int operator int() constDeclared at: include/backends/tabback.hpp:51
¶constexpr long operator long() const
constexpr long operator long() constDeclared at: include/backends/tabback.hpp:52