35 #ifndef _BLAZE_MATH_SHIMS_NEXTMULTIPLE_H_ 36 #define _BLAZE_MATH_SHIMS_NEXTMULTIPLE_H_ 67 template<
typename T1,
typename T2 >
70 return ( value + ( factor - ( value % factor ) ) % factor );
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
BLAZE_ALWAYS_INLINE constexpr auto nextMultiple(T1 value, T2 factor) noexcept
Rounds up an integral value to the next multiple of a given factor.
Definition: NextMultiple.h:68
System settings for the inline keywords.