35#ifndef _BLAZE_MATH_FUNCTORS_FLOOR_H_
36#define _BLAZE_MATH_FUNCTORS_FLOOR_H_
90 template<
typename T >
93 return floor( std::forward<T>( a ) );
102 template<
typename T >
120 template<
typename T >
141template<
typename T >
142struct YieldsUniform<Floor,T>
143 :
public IsUniform<T>
159template<
typename MT >
160struct YieldsSymmetric<Floor,MT>
161 :
public IsSymmetric<MT>
177template<
typename MT >
178struct YieldsLower<Floor,MT>
195template<
typename MT >
196struct YieldsUniLower<Floor,MT>
197 :
public IsUniLower<MT>
213template<
typename MT >
214struct YieldsStrictlyLower<Floor,MT>
215 :
public IsStrictlyLower<MT>
231template<
typename MT >
232struct YieldsUpper<Floor,MT>
249template<
typename MT >
250struct YieldsUniUpper<Floor,MT>
251 :
public IsUniUpper<MT>
267template<
typename MT >
268struct YieldsStrictlyUpper<Floor,MT>
269 :
public IsStrictlyUpper<MT>
285template<
typename T >
286struct YieldsZero<Floor,T>
Header file for the HasSIMDFloor type trait.
Macro for CUDA compatibility.
Header file for the IsLower type trait.
Header file for the IsStrictlyLower type trait.
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Header file for the IsUniLower type trait.
Header file for the IsUniUpper type trait.
Header file for the IsUpper type trait.
Header file for the YieldsLower type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUniLower type trait.
Header file for the YieldsUniUpper type trait.
Header file for the YieldsUpper type trait.
Header file for the YieldsZero type trait.
Constraint on the data type.
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.
Definition: SIMDPack.h:60
BLAZE_ALWAYS_INLINE const SIMDdouble floor(const SIMDf64< T > &a) noexcept=delete
Computes the largest integer value not greater than the given value for a vector of double precision ...
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
#define BLAZE_DEVICE_CALLABLE
Conditional macro that sets host and device attributes when compiled with CUDA.
Definition: HostDevice.h:94
Header file for the floor shim.
Header file for the SIMD floor functionality.
Generic wrapper for the floor() function.
Definition: Floor.h:83
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Floor.h:111
BLAZE_ALWAYS_INLINE decltype(auto) load(const T &a) const
Returns the result of the floor() function for the given SIMD vector.
Definition: Floor.h:121
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: Floor.h:103
System settings for the inline keywords.
Header file for the IsZero type trait.