Blaze  3.6
Public Types | Public Member Functions | Public Attributes | List of all members
blaze::SIMDf64FmaddExpr< T1, T2, T3 > Struct Template Reference

Addition operator for fusing a 32-bit floating point multiplication and addition. More...

#include <FMA.h>

Inherits SIMDf64< SIMDf64FmaddExpr< T1, T2, T3 > >.

Public Types

using This = SIMDf64FmaddExpr< T1, T2, T3 >
 Type of this SIMDf64FMaddExpr instance.
 
using BaseType = SIMDf64< This >
 Base type of this SIMDf64FMaddExpr instance.
 

Public Member Functions

BLAZE_ALWAYS_INLINE SIMDf64FmaddExpr (const T1 &a, const T2 &b, const T3 &c)
 Constructor for the SIMDf64FmaddExpr class. More...
 
BLAZE_ALWAYS_INLINE const SIMDdouble eval () const noexcept=delete
 Evaluation of the expression object. More...
 

Public Attributes

const T1 a_
 The left-hand side operand for the multiplication.
 
const T2 b_
 The right-hand side operand for the multiplication.
 
const T3 c_
 The right-hand side operand for the addition.
 

Detailed Description

template<typename T1, typename T2, typename T3>
struct blaze::SIMDf64FmaddExpr< T1, T2, T3 >

Addition operator for fusing a 32-bit floating point multiplication and addition.

Parameters
aThe left-hand side SIMD multiplication expression.
bThe right-hand side SIMD addition operand.
Returns
The result of the FMA operation.

This operator fuses a 32-bit floating point multiplication with the addition of a 32-bit floating point operand. It returns an expression representing the fused multiply-add (FMA) operation.

Addition operator for fusing a 32-bit floating point multiplication and addition.

Parameters
aThe left-hand side SIMD addition operand.
bThe right-hand side SIMD multiplication expression.
Returns
The result of the FMA operation.

This operator fuses a 32-bit floating point multiplication with the addition of a 32-bit floating point operand. It returns an expression representing the fused multiply-add (FMA) operation.

Subtraction operator for fusing a 32-bit floating point multiplication and subtraction.

Parameters
aThe left-hand side SIMD multiplication expression.
bThe right-hand side SIMD subtraction operand.
Returns
The result of the FMA operation.

This operator fuses a 32-bit floating point multiplication with the subtraction of a 32-bit floating point operand. It returns an expression representing the fused multiply-subtract operation.

Expression object for 64-bit floating point fused multiply-add operations.

The SIMDf64FmaddExpr class represents the compile time expression for 64-bit floating point fused multiply-add operations.

Constructor & Destructor Documentation

◆ SIMDf64FmaddExpr()

template<typename T1 , typename T2 , typename T3 >
BLAZE_ALWAYS_INLINE blaze::SIMDf64FmaddExpr< T1, T2, T3 >::SIMDf64FmaddExpr ( const T1 &  a,
const T2 &  b,
const T3 &  c 
)
inlineexplicit

Constructor for the SIMDf64FmaddExpr class.

Parameters
aThe left-hand side operand for the multiplication.
bThe right-hand side operand for the multiplication.
cThe right-hand side operand for the addition.

Member Function Documentation

◆ eval()

template<typename T1 , typename T2 , typename T3 >
BLAZE_ALWAYS_INLINE const SIMDdouble blaze::SIMDf64FmaddExpr< T1, T2, T3 >::eval ( ) const
deletenoexcept

Evaluation of the expression object.

Returns
The resulting packed 64-bit floating point value.

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