STK++ 0.9.13
|
Specialization for Integer (long). More...
#include <STK_Integer.h>
Static Public Member Functions | |
static Integer | NA () throw () |
Adding a Non Available (NA) special number. | |
static bool | isNA (Integer const &x) throw () |
Test if x is a Non Available (NA) special number. | |
static Integer | min () throw () |
We are using the minimal value of the Integer type for NA values, thus we add one in order to compute the available minimal value. | |
static bool | isInfinite (Integer const &x) throw () |
static bool | isFinite (Integer const &x) throw () |
Static Public Attributes | |
static const bool | hasNA = true |
True if the type has a representation for a "Not Available". | |
Specialization for Integer (long).
We are using the largest element of the underlying Type for representing NA (not available) discrete numbers.
Definition at line 55 of file STK_Integer.h.
x | the value to test. |
Definition at line 82 of file STK_Integer.h.
References STK::Arithmetic< Type >::isNA().
true
if x is infinite : always false for Integer. x | the Integer number to test. |
Definition at line 78 of file STK_Integer.h.
Test if x is a Non Available (NA) special number.
x | the Integer number to test. |
Definition at line 70 of file STK_Integer.h.
|
inlinestatic |
We are using the minimal value of the Integer type for NA values, thus we add one in order to compute the available minimal value.
Definition at line 74 of file STK_Integer.h.
|
inlinestatic |
Adding a Non Available (NA) special number.
Definition at line 66 of file STK_Integer.h.
|
static |
True if the type has a representation for a "Not Available".
Definition at line 64 of file STK_Integer.h.