DCMTK  Version 3.6.1 20170228
OFFIS DICOM Toolkit
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
OFMath Class Reference

Static Public Member Functions

static OFBool isnan (float f)
 Determines if the given floating point number is a not-a-number (NaN) value. More...
 
static OFBool isnan (double d)
 Determines if the given floating point number is a not-a-number (NaN) value. More...
 
template<typename Integer >
static OFBool isnan (Integer i)
 Casts the argument to double and calls OFMath::isnan(double) on the result. More...
 
static OFBool isinf (float f)
 Determines if the given floating point number is a positive or negative infinity. More...
 
static OFBool isinf (double d)
 Determines if the given floating point number is a positive or negative infinity. More...
 
template<typename Integer >
static OFBool isinf (Integer i)
 Casts the argument to double and calls OFMath::isinf(double) on the result. More...
 

Member Function Documentation

static OFBool OFMath::isinf ( float  f)
static

Determines if the given floating point number is a positive or negative infinity.

Parameters
fthe floating point value to inspect.
Returns
OFTrue if f is infinite, OFFalse otherwise.
static OFBool OFMath::isinf ( double  d)
static

Determines if the given floating point number is a positive or negative infinity.

Parameters
dthe floating point value to inspect.
Returns
OFTrue if d is infinite, OFFalse otherwise.
template<typename Integer >
static OFBool OFMath::isinf ( Integer  i)
static

Casts the argument to double and calls OFMath::isinf(double) on the result.

Parameters
ian integer, i.e. OFis_integral<Integer>::value equals OFTrue.
Returns
OFMath::isinf(OFstatic_cast(double,i)).
static OFBool OFMath::isnan ( float  f)
static

Determines if the given floating point number is a not-a-number (NaN) value.

Parameters
fthe floating point value to inspect.
Returns
OFTrue if f is a NaN, OFFalse otherwise.
static OFBool OFMath::isnan ( double  d)
static

Determines if the given floating point number is a not-a-number (NaN) value.

Parameters
dthe floating point value to inspect.
Returns
OFTrue if d is a NaN, OFFalse otherwise.
template<typename Integer >
static OFBool OFMath::isnan ( Integer  i)
static

Casts the argument to double and calls OFMath::isnan(double) on the result.

Parameters
ian integer, i.e. OFis_integral<Integer>::value equals OFTrue.
Returns
OFMath::isnan(OFstatic_cast(double,i)).

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


Generated on Tue Feb 28 2017 for DCMTK Version 3.6.1 20170228 by Doxygen 1.8.8