Static Public Member Functions | List of all members
std::numeric_limits< fmt::internal::dummy_int > Class Template Reference

#include <format.h>

Inheritance diagram for std::numeric_limits< fmt::internal::dummy_int >:

Static Public Member Functions

template<typename T >
static bool isinfinity (T x)
 
template<typename T >
static bool isnotanumber (T x)
 

Detailed Description

template<>
class std::numeric_limits< fmt::internal::dummy_int >

Definition at line 303 of file format.h.

Member Function Documentation

template<typename T >
static bool std::numeric_limits< fmt::internal::dummy_int >::isinfinity ( x)
inlinestatic

Definition at line 308 of file format.h.

308  {
309  using namespace fmt::internal;
310  // The resolution "priority" is:
311  // isinf macro > std::isinf > ::isinf > fmt::internal::isinf
312  if (const_check(sizeof(isinf(x)) != sizeof(fmt::internal::dummy_int)))
313  return isinf(x) != 0;
314  return !_finite(static_cast<double>(x));
315  }
dummy_int isinf(...)
Definition: format.h:276
dummy_int _finite(...)
Definition: format.h:277
T const_check(T value)
Definition: format.h:293
list x
Definition: train.py:276
template<typename T >
static bool std::numeric_limits< fmt::internal::dummy_int >::isnotanumber ( x)
inlinestatic

Definition at line 319 of file format.h.

319  {
320  using namespace fmt::internal;
321  if (const_check(sizeof(isnan(x)) != sizeof(fmt::internal::dummy_int)))
322  return isnan(x) != 0;
323  return _isnan(static_cast<double>(x)) != 0;
324  }
dummy_int _isnan(...)
Definition: format.h:279
T const_check(T value)
Definition: format.h:293
list x
Definition: train.py:276
dummy_int isnan(...)
Definition: format.h:278

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