|
STK++ 1.0
|
Specialization for Binary. More...
#include <STK_Binary.h>

Static Public Member Functions | |
| static Binary | NA () throw () |
| Adding a Non Avalaible (NA) special number. | |
| static bool | isNA (const Binary &x) throw () |
| Test if x is a Non Avalaible (NA) special number. | |
| static bool | isInfinite (const Binary &x) throw () |
| test if x is infinite. | |
| static bool | isFinite (const Binary &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 Binary.
NA (not available) numbers is part of the union.
Definition at line 64 of file STK_Binary.h.
| static Binary STK::Arithmetic< Binary >::NA | ( | ) | throw () [inline, static] |
Adding a Non Avalaible (NA) special number.
Definition at line 68 of file STK_Binary.h.
References STK::binaryNA.
{ return binaryNA;}
| static bool STK::Arithmetic< Binary >::isNA | ( | const Binary & | x | ) | throw () [inline, static] |
Test if x is a Non Avalaible (NA) special number.
| x | the Binary number to test. |
Definition at line 78 of file STK_Binary.h.
References STK::binaryNA.
{ return (x==binaryNA);}
| static bool STK::Arithmetic< Binary >::isInfinite | ( | const Binary & | x | ) | throw () [inline, static] |
test if x is infinite.
| x | the Binary number to test. |
Definition at line 84 of file STK_Binary.h.
{ return false; }
| static bool STK::Arithmetic< Binary >::isFinite | ( | const Binary & | x | ) | throw () [inline, static] |
test if x is finite.
| x | the Binary number to test. |
Definition at line 90 of file STK_Binary.h.
References STK::Arithmetic< TYPE >::isInfinite(), and STK::Arithmetic< TYPE >::isNA().
{ return (!isNA(x) && !isInfinite(x));}
const bool STK::Arithmetic< Binary >::hasNA = true [static] |
True if the type has a representation for a "Not Available".
Definition at line 73 of file STK_Binary.h.