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 >
static uniform_int_distribution< Element > get_default_random_generator ( )
inlinestatic

◆ round()

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

◆ fma()

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

◆ mullo()

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

◆ mulhi()

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

◆ mulx()

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

◆ fmaddx()

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

◆ fmaddxin()

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

◆ fmsubx()

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

◆ fmsubxin()

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

◆ fnmaddx()

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

◆ fnmaddxin()

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

◆ sra()

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

◆ srl()

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

◆ sll()

template<typename Element >
template<int s>
static 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: