35#ifndef _BLAZE_MATH_SHIMS_ISREAL_H_
36#define _BLAZE_MATH_SHIMS_ISREAL_H_
100 , EnableIf_t< IsScalar_v<Type> >* =
nullptr >
105 return IsBuiltin_v<Type>;
122 return IsBuiltin_v<Type> && isZero<RF>( v.imag() );
151template<
typename Type >
154 return isReal<relaxed>( v );
Header file for the complex data type.
Header file for the EnableIf class template.
Header file for the IsBuiltin type trait.
Header file for the IsScalar type trait.
Header file for the MAYBE_UNUSED function template.
Header file for the relaxation flag enumeration.
Complex data type of the Blaze library.
BLAZE_ALWAYS_INLINE bool isReal(const Type &v) noexcept
Returns whether the given value/object represents a real number.
Definition: IsReal.h:152
RelaxationFlag
Relaxation flag for strict or relaxed semantics.
Definition: RelaxationFlag.h:66
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
constexpr void MAYBE_UNUSED(const Args &...)
Suppression of unused parameter warnings.
Definition: MaybeUnused.h:81
Header file for the isZero shim.
System settings for the inline keywords.