ATLAS Offline Software
Static Public Member Functions | List of all members
FloatingPointHelpers::ConversionHelper< Format, Format > Struct Template Reference

#include <FPHelpers.h>

Collaboration diagram for FloatingPointHelpers::ConversionHelper< Format, Format >:

Static Public Member Functions

template<class T >
constexpr static T up_convert (const T pattern, [[maybe_unused]] const RoundingModes rt=RoundingModes::Default)
 
template<class T >
constexpr static T down_convert (const T pattern, [[maybe_unused]] const RoundingModes rt=RoundingModes::Default)
 

Detailed Description

template<class Format>
struct FloatingPointHelpers::ConversionHelper< Format, Format >

Definition at line 901 of file FPHelpers.h.

Member Function Documentation

◆ down_convert()

template<class Format >
template<class T >
constexpr static T FloatingPointHelpers::ConversionHelper< Format, Format >::down_convert ( const pattern,
[[maybe_unused] ] const RoundingModes  rt = RoundingModes::Default 
)
inlinestaticconstexpr

Definition at line 909 of file FPHelpers.h.

910  {
911  return pattern;
912  }

◆ up_convert()

template<class Format >
template<class T >
constexpr static T FloatingPointHelpers::ConversionHelper< Format, Format >::up_convert ( const pattern,
[[maybe_unused] ] const RoundingModes  rt = RoundingModes::Default 
)
inlinestaticconstexpr

Definition at line 904 of file FPHelpers.h.

905  {
906  return pattern;
907  }

The documentation for this struct was generated from the following file:
mergePhysValFiles.pattern
pattern
Definition: DataQuality/DataQualityUtils/scripts/mergePhysValFiles.py:26