FflasFfpack
ScalFunctionsBase< Element, typename enable_if< is_integral< Element >::value >::type > Struct Template Reference

Static Public Member Functions

static uniform_int_distribution< Element > get_default_random_generator ()
static Element round (Element x)
static Element fma (Element x, Element y, Element z)
static Element mullo (Element x1, Element x2)
static Element mulhi (Element x1, Element x2)
static Element mulx (Element x1, Element x2)
static Element fmaddx (Element x1, Element x2, Element x3)
static Element fmaddxin (Element &x1, Element x2, Element x3)
static Element fmsubx (Element x1, Element x2, Element x3)
static Element fmsubxin (Element &x1, Element x2, Element x3)
static Element fnmaddx (Element x1, Element x2, Element x3)
static Element fnmaddxin (Element &x1, Element x2, Element x3)
template<int s>
static Element sra (Element x1)
template<int s>
static Element srl (Element x1)
template<int s>
static Element sll (Element x1)

Static Public Attributes

static constexpr Element _zero = 0
static constexpr Element cmp_true = -1
static constexpr Element cmp_false = _zero

Member Function Documentation

◆ get_default_random_generator()

template<typename Element>
uniform_int_distribution< Element > get_default_random_generator ( )
inlinestatic

◆ round()

template<typename Element>
Element round ( Element x)
inlinestatic

◆ fma()

template<typename Element>
Element fma ( Element x,
Element y,
Element z )
inlinestatic

◆ mullo()

template<typename Element>
Element mullo ( Element x1,
Element x2 )
inlinestatic

◆ mulhi()

template<typename Element>
Element mulhi ( Element x1,
Element x2 )
inlinestatic

◆ mulx()

template<typename Element>
Element mulx ( Element x1,
Element x2 )
inlinestatic

◆ fmaddx()

template<typename Element>
Element fmaddx ( Element x1,
Element x2,
Element x3 )
inlinestatic

◆ fmaddxin()

template<typename Element>
Element fmaddxin ( Element & x1,
Element x2,
Element x3 )
inlinestatic

◆ fmsubx()

template<typename Element>
Element fmsubx ( Element x1,
Element x2,
Element x3 )
inlinestatic

◆ fmsubxin()

template<typename Element>
Element fmsubxin ( Element & x1,
Element x2,
Element x3 )
inlinestatic

◆ fnmaddx()

template<typename Element>
Element fnmaddx ( Element x1,
Element x2,
Element x3 )
inlinestatic

◆ fnmaddxin()

template<typename Element>
Element fnmaddxin ( Element & x1,
Element x2,
Element x3 )
inlinestatic

◆ sra()

template<typename Element>
template<int s>
Element sra ( Element x1)
inlinestatic

◆ srl()

template<typename Element>
template<int s>
Element srl ( Element x1)
inlinestatic

◆ sll()

template<typename Element>
template<int s>
Element sll ( Element x1)
inlinestatic

Field Documentation

◆ _zero

template<typename Element>
Element _zero = 0
staticconstexpr

◆ cmp_true

template<typename Element>
Element cmp_true = -1
staticconstexpr

◆ cmp_false

template<typename Element>
Element cmp_false = _zero
staticconstexpr

The documentation for this struct was generated from the following file: