struct BackendXPosit

Declaration

template <class T, class PositEmu>
struct BackendXPosit : public HwBaseBackend { /* full declaration omitted */ };

Description

Demo Backend for ISA-extended Posit backend

Declared at: include/backends/xpositback.hpp:19

Inherits from: HwBaseBackend

Templates

T
holder type
PositEmu
Posit type used for full-software emulation as fallback

Member Variables

public T v

Method Overview

Methods

BackendXPosit<T, PositEmu>()

Declared at: include/backends/xpositback.hpp:23

BackendXPosit<T, PositEmu>(
    posit::BackendXPosit::single_tag,
    T x)

Declared at: include/backends/xpositback.hpp:24

Parameters

posit::BackendXPosit::single_tag
T x

BackendXPosit<T, PositEmu>(int x)

Declared at: include/backends/xpositback.hpp:26

Parameters

int x

BackendXPosit<T, PositEmu>(long x)

Declared at: include/backends/xpositback.hpp:27

Parameters

long x

BackendXPosit<T, PositEmu>(float x)

Declared at: include/backends/xpositback.hpp:28

Parameters

float x

BackendXPosit<T, PositEmu>(double x)

Declared at: include/backends/xpositback.hpp:29

Parameters

double x

constexpr double operator double() const

Declared at: include/backends/xpositback.hpp:32

constexpr float operator float() const

Declared at: include/backends/xpositback.hpp:31

constexpr int operator int() const

Declared at: include/backends/xpositback.hpp:33

constexpr long operator long() const

Declared at: include/backends/xpositback.hpp:34