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

Data Structures

class  FloatingPointTestDistribution

Static Public Member Functions

static FloatingPointTestDistribution get_default_random_generator ()
static Element ceil (Element x)
static Element floor (Element x)
static Element round (Element x)
static Element blendv (Element a, Element b, Element mask)
static Element fma (Element x, Element y, Element z)

Static Public Attributes

static constexpr Element _zero = 0.0
static constexpr Element cmp_true = NAN
static constexpr Element cmp_false = _zero

Member Function Documentation

◆ get_default_random_generator()

template<typename Element>
FloatingPointTestDistribution get_default_random_generator ( )
inlinestatic

◆ ceil()

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

◆ floor()

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

◆ round()

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

◆ blendv()

template<typename Element>
Element blendv ( Element a,
Element b,
Element mask )
inlinestatic

◆ fma()

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

Field Documentation

◆ _zero

template<typename Element>
Element _zero = 0.0
staticconstexpr

◆ cmp_true

template<typename Element>
Element cmp_true = NAN
staticconstexpr

◆ cmp_false

template<typename Element>
Element cmp_false = _zero
staticconstexpr

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