ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::Math::Detail Namespace Reference

Classes

struct  AlmostEqualsFloatVsFloat
 
struct  AlmostEqualsFloatVsInteger
 
struct  AlmostEqualsFunctionSelector
 
struct  AlmostEqualsIntegerVsFloat
 
struct  AlmostEqualsPlainOldEquals
 
struct  AlmostEqualsSignedVsUnsigned
 
struct  AlmostEqualsUnsignedVsSigned
 
union  FloatIEEE
 
struct  FloatIEEETraits
 
struct  FloatIEEETraits< double >
 
struct  FloatIEEETraits< float >
 

Functions

template<typename TInput>
constexpr int32_t Ceil_32 (TInput x)
 
template<typename TInput>
constexpr int64_t Ceil_64 (TInput x)
 
template<typename TReturn, typename TInput>
constexpr TReturn Ceil_base (TInput x)
 
template<typename TInput>
constexpr int32_t Floor_32 (TInput x)
 
template<typename TInput>
constexpr int64_t Floor_64 (TInput x)
 
template<typename TReturn, typename TInput>
constexpr TReturn Floor_base (TInput x)
 
template<typename TInput>
ITK_GCC_PRAGMA_POP constexpr int32_t RoundHalfIntegerToEven_32 (TInput x)
 
template<typename TInput>
constexpr int64_t RoundHalfIntegerToEven_64 (TInput x)
 
template<typename TReturn, typename TInput>
ITK_GCC_PRAGMA_PUSH ITK_GCC_SUPPRESS_Wfloat_equal constexpr TReturn RoundHalfIntegerToEven_base (TInput x)
 
template<typename TInput>
constexpr int32_t RoundHalfIntegerUp_32 (TInput x)
 
template<typename TInput>
constexpr int64_t RoundHalfIntegerUp_64 (TInput x)
 
template<typename TReturn, typename TInput>
constexpr TReturn RoundHalfIntegerUp_base (TInput x)
 

Function Documentation

◆ Ceil_32()

template<typename TInput>
int32_t itk::Math::Detail::Ceil_32 ( TInput x)
constexpr

Definition at line 282 of file itkMathDetail.h.

References Ceil_base().

◆ Ceil_64()

template<typename TInput>
int64_t itk::Math::Detail::Ceil_64 ( TInput x)
constexpr

Definition at line 432 of file itkMathDetail.h.

References Ceil_base().

◆ Ceil_base()

template<typename TReturn, typename TInput>
TReturn itk::Math::Detail::Ceil_base ( TInput x)
constexpr

Definition at line 130 of file itkMathDetail.h.

References itk::NumericTraits< T >::IsNegative().

Referenced by Ceil_32(), and Ceil_64().

◆ Floor_32()

template<typename TInput>
int32_t itk::Math::Detail::Floor_32 ( TInput x)
constexpr

Definition at line 275 of file itkMathDetail.h.

References Floor_base().

◆ Floor_64()

template<typename TInput>
int64_t itk::Math::Detail::Floor_64 ( TInput x)
constexpr

Definition at line 425 of file itkMathDetail.h.

References Floor_base().

◆ Floor_base()

template<typename TReturn, typename TInput>
TReturn itk::Math::Detail::Floor_base ( TInput x)
constexpr

Definition at line 120 of file itkMathDetail.h.

References itk::NumericTraits< T >::IsNonnegative().

Referenced by Floor_32(), and Floor_64().

◆ RoundHalfIntegerToEven_32()

template<typename TInput>
ITK_GCC_PRAGMA_POP constexpr int32_t itk::Math::Detail::RoundHalfIntegerToEven_32 ( TInput x)
constexpr

Definition at line 222 of file itkMathDetail.h.

References RoundHalfIntegerToEven_base().

◆ RoundHalfIntegerToEven_64()

template<typename TInput>
int64_t itk::Math::Detail::RoundHalfIntegerToEven_64 ( TInput x)
constexpr

Definition at line 372 of file itkMathDetail.h.

References RoundHalfIntegerToEven_base().

◆ RoundHalfIntegerToEven_base()

template<typename TReturn, typename TInput>
ITK_GCC_PRAGMA_PUSH ITK_GCC_SUPPRESS_Wfloat_equal constexpr TReturn itk::Math::Detail::RoundHalfIntegerToEven_base ( TInput x)
constexpr

◆ RoundHalfIntegerUp_32()

template<typename TInput>
int32_t itk::Math::Detail::RoundHalfIntegerUp_32 ( TInput x)
constexpr

Definition at line 268 of file itkMathDetail.h.

References RoundHalfIntegerUp_base().

◆ RoundHalfIntegerUp_64()

template<typename TInput>
int64_t itk::Math::Detail::RoundHalfIntegerUp_64 ( TInput x)
constexpr

Definition at line 418 of file itkMathDetail.h.

References RoundHalfIntegerUp_base().

◆ RoundHalfIntegerUp_base()

template<typename TReturn, typename TInput>
TReturn itk::Math::Detail::RoundHalfIntegerUp_base ( TInput x)
constexpr