FflasFfpack
Static Public Member Functions | Static Public Attributes
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()

static uniform_int_distribution< Element > get_default_random_generator ( )
inlinestatic

◆ round()

static Element round ( Element  x)
inlinestatic

◆ fma()

static Element fma ( Element  x,
Element  y,
Element  z 
)
inlinestatic

◆ mullo()

static Element mullo ( Element  x1,
Element  x2 
)
inlinestatic

◆ mulhi()

static Element mulhi ( Element  x1,
Element  x2 
)
inlinestatic

◆ mulx()

static Element mulx ( Element  x1,
Element  x2 
)
inlinestatic

◆ fmaddx()

static Element fmaddx ( Element  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ fmaddxin()

static Element fmaddxin ( Element &  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ fmsubx()

static Element fmsubx ( Element  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ fmsubxin()

static Element fmsubxin ( Element &  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ fnmaddx()

static Element fnmaddx ( Element  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ fnmaddxin()

static Element fnmaddxin ( Element &  x1,
Element  x2,
Element  x3 
)
inlinestatic

◆ sra()

static Element sra ( Element  x1)
inlinestatic

◆ srl()

static Element srl ( Element  x1)
inlinestatic

◆ sll()

static Element sll ( Element  x1)
inlinestatic

Field Documentation

◆ _zero

constexpr Element _zero = 0
staticconstexpr

◆ cmp_true

constexpr Element cmp_true = -1
staticconstexpr

◆ cmp_false

constexpr Element cmp_false = _zero
staticconstexpr

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