#include <STK_Binary.h>
Inherits std::numeric_limits<Binary>.
Static Public Member Functions | |
| static Binary | NA () throw () |
| static bool | isNA (const Binary &x) throw () |
| static bool | isInfinite (const Binary &x) throw () |
| static bool | isFinite (const Binary &x) throw () |
Static Public Attributes | |
| static const bool | hasNA = true |
union.
Definition at line 69 of file STK_Binary.h.
| static Binary STK::Arithmetic< Binary >::NA | ( | ) | throw () [inline, static] |
Adding a Non Avalaible (NA) special number.
Definition at line 73 of file STK_Binary.h.
References STK::binaryNA.
00074 { 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 83 of file STK_Binary.h.
References STK::binaryNA.
00084 { 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 89 of file STK_Binary.h.
| 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 95 of file STK_Binary.h.
References STK::Arithmetic< TYPE >::isInfinite(), and STK::Arithmetic< TYPE >::isNA().
00096 { 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 78 of file STK_Binary.h.
1.5.8