DGtal
0.9.3
|
#include <DGtal/kernel/NumberTraits.h>
Public Types | |
typedef TagFalse | IsIntegral |
typedef TagTrue | IsBounded |
typedef TagFalse | IsUnsigned |
typedef TagTrue | IsSigned |
typedef TagTrue | IsSpecialized |
typedef float | SignedVersion |
typedef float | UnsignedVersion |
typedef float | ReturnType |
typedef boost::call_traits< float >::param_type | ParamType |
Static Public Member Functions | |
static ReturnType | zero () |
static ReturnType | one () |
static ReturnType | min () |
static ReturnType | max () |
static unsigned int | digits () |
static BoundEnum | isBounded () |
static SignEnum | isSigned () |
static DGtal::int64_t | castToInt64_t (const float &aT) |
static double | castToDouble (const float &aT) |
Static Public Attributes | |
static const float | ZERO = 0.0f |
static const float | ONE = 1.0f |
Specialization for float.
Definition at line 776 of file NumberTraits.h.
typedef TagTrue DGtal::NumberTraits< float >::IsBounded |
Definition at line 779 of file NumberTraits.h.
typedef TagFalse DGtal::NumberTraits< float >::IsIntegral |
Definition at line 778 of file NumberTraits.h.
typedef TagTrue DGtal::NumberTraits< float >::IsSigned |
Definition at line 781 of file NumberTraits.h.
typedef TagTrue DGtal::NumberTraits< float >::IsSpecialized |
Definition at line 782 of file NumberTraits.h.
typedef TagFalse DGtal::NumberTraits< float >::IsUnsigned |
Definition at line 780 of file NumberTraits.h.
typedef boost::call_traits<float>::param_type DGtal::NumberTraits< float >::ParamType |
Definition at line 786 of file NumberTraits.h.
typedef float DGtal::NumberTraits< float >::ReturnType |
Definition at line 785 of file NumberTraits.h.
typedef float DGtal::NumberTraits< float >::SignedVersion |
Definition at line 783 of file NumberTraits.h.
typedef float DGtal::NumberTraits< float >::UnsignedVersion |
Definition at line 784 of file NumberTraits.h.
|
inlinestatic |
Definition at line 821 of file NumberTraits.h.
|
inlinestatic |
Definition at line 817 of file NumberTraits.h.
|
inlinestatic |
Definition at line 805 of file NumberTraits.h.
|
inlinestatic |
Definition at line 809 of file NumberTraits.h.
References DGtal::BOUNDED.
|
inlinestatic |
Definition at line 813 of file NumberTraits.h.
References DGtal::SIGNED.
|
inlinestatic |
Definition at line 801 of file NumberTraits.h.
|
inlinestatic |
Definition at line 797 of file NumberTraits.h.
|
inlinestatic |
Definition at line 793 of file NumberTraits.h.
|
inlinestatic |
Definition at line 789 of file NumberTraits.h.
|
static |
Definition at line 788 of file NumberTraits.h.
|
static |
Definition at line 787 of file NumberTraits.h.