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

Methods

TabulatedBackend<PTableTrait, PositEmu, PTable>()

Declared at: include/backends/tabback.hpp:41

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)

Declared at: include/backends/tabback.hpp:44

Parameters

int x

TabulatedBackend<PTableTrait, PositEmu, PTable>(
    long x)

Declared at: include/backends/tabback.hpp:45

Parameters

long x

TabulatedBackend<PTableTrait, PositEmu, PTable>(
    float x)

Declared at: include/backends/tabback.hpp:46

Parameters

float x

TabulatedBackend<PTableTrait, PositEmu, PTable>(
    double x)

Declared at: include/backends/tabback.hpp:47

Parameters

double x

constexpr double operator double() const

Declared at: include/backends/tabback.hpp:50

constexpr float operator float() const

Declared at: include/backends/tabback.hpp:49

constexpr int operator int() const

Declared at: include/backends/tabback.hpp:51

constexpr long operator long() const

Declared at: include/backends/tabback.hpp:52