|
STK++ 1.0
|
Specialization for Sign. More...
#include <STK_Sign.h>

Static Public Member Functions | |
| static Sign | NA () throw () |
| Adding a Non Avalaible (NA) special number. | |
| static bool | isNA (const Sign &x) throw () |
| Test if x is a Non Avalaible (NA) special number. | |
| static bool | isInfinite (const Sign &x) throw () |
| Test if x is infinite. | |
| static bool | isFinite (const Sign &x) throw () |
| Test if x is finite. | |
Static Public Attributes | |
| static const bool | hasNA = true |
| True if the type has a representation for a "Not Available". | |
Specialization for Sign.
NA (not available) numbers is part of the union.
Definition at line 63 of file STK_Sign.h.
| static Sign STK::Arithmetic< Sign >::NA | ( | ) | throw () [inline, static] |
Adding a Non Avalaible (NA) special number.
Definition at line 67 of file STK_Sign.h.
References STK::SignNA.
{ return SignNA;}
| static bool STK::Arithmetic< Sign >::isNA | ( | const Sign & | x | ) | throw () [inline, static] |
Test if x is a Non Avalaible (NA) special number.
| x | the Sign number to test. |
Definition at line 77 of file STK_Sign.h.
References STK::SignNA.
{ return (x==SignNA);}
| static bool STK::Arithmetic< Sign >::isInfinite | ( | const Sign & | x | ) | throw () [inline, static] |
Test if x is infinite.
| x | the Sign number to test. |
Definition at line 83 of file STK_Sign.h.
{ return false; }
| static bool STK::Arithmetic< Sign >::isFinite | ( | const Sign & | x | ) | throw () [inline, static] |
Test if x is finite.
| x | the Sign number to test. |
Definition at line 89 of file STK_Sign.h.
References STK::Arithmetic< TYPE >::isInfinite(), and STK::Arithmetic< TYPE >::isNA().
{ return (!isNA(x) && !isInfinite(x));}
const bool STK::Arithmetic< Sign >::hasNA = true [static] |
True if the type has a representation for a "Not Available".
Definition at line 72 of file STK_Sign.h.