STK++ 0.9.13
|
Specialization of the struct Arithmetic for Char. More...
#include <STK_Char.h>
Static Public Member Functions | |
static Char | NA () throw () |
Adding a Non Available (NA) special number. | |
static bool | isNA (const Char &x) throw () |
Test if x is a Non Available (NA) Char. | |
static bool | isInfinite (const Char &x) throw () |
Test if x is infinite. | |
static bool | isFinite (const Char &x) throw () |
Test if x is finite. | |
Static Public Attributes | |
static const bool | hasNA = false |
True if the type has a representation for a "Not Available.". | |
Specialization of the struct Arithmetic for Char.
The STK fundamental type Char does not have NA value. If the user ask for a NA value, the method return 0.
Definition at line 49 of file STK_Char.h.
Test if x is finite.
x | the Char to test. |
true
Definition at line 76 of file STK_Char.h.
Test if x is infinite.
x | the Char to test. |
false
Definition at line 70 of file STK_Char.h.
Test if x is a Non Available (NA) Char.
x | the Char to test. |
false
as the Char type does not have NA value. Definition at line 64 of file STK_Char.h.
|
inlinestatic |
Adding a Non Available (NA) special number.
Definition at line 54 of file STK_Char.h.
|
static |
True if the type has a representation for a "Not Available.".
Definition at line 58 of file STK_Char.h.