35 #ifndef _BLAZE_MATH_SIMD_ROUND_H_ 36 #define _BLAZE_MATH_SIMD_ROUND_H_ 65 template<
typename T >
69 return _mm256_round_ps( (~a).
eval().value, ( _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC ) );
73 return _mm_round_ps( (~a).
eval().value, ( _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC ) );
98 template<
typename T >
102 return _mm256_round_pd( (~a).
eval().value, ( _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC ) );
104 #elif BLAZE_SSE4_MODE 106 return _mm_round_pd( (~a).
eval().value, ( _MM_FROUND_TO_NEAREST_INT | _MM_FROUND_NO_EXC ) );
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
const DMatForEachExpr< MT, Round, SO > round(const DenseMatrix< MT, SO > &dm)
Applies the round() function to each single element of the dense matrix dm.
Definition: DMatForEachExpr.h:1186
Header file for the basic SIMD types.
const DMatEvalExpr< MT, SO > eval(const DenseMatrix< MT, SO > &dm)
Forces the evaluation of the given dense matrix expression dm.
Definition: DMatEvalExpr.h:703
System settings for the SSE mode.
System settings for the inline keywords.