ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
itk::Math::Detail::FloatIEEE< T > Union Template Reference

#include <itkMathDetail.h>

Detailed Description

template<typename T>
union itk::Math::Detail::FloatIEEE< T >

Definition at line 457 of file itkMathDetail.h.

Public Types

using FloatType = T
 
using IntType = typename FloatIEEETraits<T>::IntType
 
using UIntType = typename FloatIEEETraits<T>::UIntType
 

Public Member Functions

constexpr IntType AsULP () const
 
constexpr FloatIEEE (FloatType f)
 
constexpr FloatIEEE (IntType i)
 
constexpr FloatIEEE (UIntType ui)
 
constexpr bool Sign () const
 

Public Attributes

FloatType asFloat
 
IntType asInt
 
UIntType asUInt
 

Member Typedef Documentation

◆ FloatType

template<typename T>
using itk::Math::Detail::FloatIEEE< T >::FloatType = T

Definition at line 459 of file itkMathDetail.h.

◆ IntType

template<typename T>
using itk::Math::Detail::FloatIEEE< T >::IntType = typename FloatIEEETraits<T>::IntType

Definition at line 460 of file itkMathDetail.h.

◆ UIntType

template<typename T>
using itk::Math::Detail::FloatIEEE< T >::UIntType = typename FloatIEEETraits<T>::UIntType

Definition at line 461 of file itkMathDetail.h.

Constructor & Destructor Documentation

◆ FloatIEEE() [1/3]

template<typename T>
itk::Math::Detail::FloatIEEE< T >::FloatIEEE ( FloatType f)
inlineconstexpr

Definition at line 467 of file itkMathDetail.h.

References asFloat.

◆ FloatIEEE() [2/3]

template<typename T>
itk::Math::Detail::FloatIEEE< T >::FloatIEEE ( IntType i)
inlineconstexpr

Definition at line 470 of file itkMathDetail.h.

References asInt.

◆ FloatIEEE() [3/3]

template<typename T>
itk::Math::Detail::FloatIEEE< T >::FloatIEEE ( UIntType ui)
inlineconstexpr

Definition at line 473 of file itkMathDetail.h.

References asUInt.

Member Function Documentation

◆ AsULP()

template<typename T>
IntType itk::Math::Detail::FloatIEEE< T >::AsULP ( ) const
inlinenodiscardconstexpr

Definition at line 482 of file itkMathDetail.h.

References asInt, and Sign().

Referenced by itk::Math::FloatDifferenceULP().

◆ Sign()

template<typename T>
bool itk::Math::Detail::FloatIEEE< T >::Sign ( ) const
inlinenodiscardconstexpr

Definition at line 477 of file itkMathDetail.h.

References asUInt.

Referenced by AsULP().

Member Data Documentation

◆ asFloat

template<typename T>
FloatType itk::Math::Detail::FloatIEEE< T >::asFloat

Definition at line 463 of file itkMathDetail.h.

Referenced by itk::Math::FloatAddULP(), and FloatIEEE().

◆ asInt

template<typename T>
IntType itk::Math::Detail::FloatIEEE< T >::asInt

Definition at line 464 of file itkMathDetail.h.

Referenced by AsULP(), itk::Math::FloatAddULP(), and FloatIEEE().

◆ asUInt

template<typename T>
UIntType itk::Math::Detail::FloatIEEE< T >::asUInt

Definition at line 465 of file itkMathDetail.h.

Referenced by FloatIEEE(), and Sign().


The documentation for this union was generated from the following file: