35#ifndef _BLAZE_MATH_SHIMS_ISONE_H_
36#define _BLAZE_MATH_SHIMS_ISONE_H_
105 , EnableIf_t< IsNumeric_v<Type> >* =
nullptr >
108 return equal<RF>( v, Type(1) );
123 , DisableIf_t< IsNumeric_v<Type> >* =
nullptr >
178template<
typename Type >
181 return isOne<relaxed>( v );
Header file for the EnableIf class template.
Header file for the IsNumeric type trait.
Header file for the MAYBE_UNUSED function template.
Header file for the relaxation flag enumeration.
BLAZE_ALWAYS_INLINE bool isOne(const Type &v)
Returns whether the given value/object represents the numeric value 1.
Definition: IsOne.h:179
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 equal shim.
System settings for the inline keywords.