This file is a cut-and-paste of vnl_na.cxx. More...
Go to the source code of this file.
Defines | |
#define | hw 1 |
#define | lw 0 |
Functions | |
double | vil_na (double) |
A particular qNaN to indicate not available. | |
float | vil_na (float) |
A particular qNaN to indicate not available. | |
bool | vil_na_isna (double x) |
True if parameter is specific NA qNaN. | |
bool | vil_na_isna (float x) |
True if parameter is specific NA qNaN. |
This file is a cut-and-paste of vnl_na.cxx.
Definition in file vil_na.cxx.
#define hw 1 |
#define lw 0 |
double vil_na | ( | double | ) |
A particular qNaN to indicate not available.
qNaN to indicate value Not Available.
This returns the bit pattern 0x7ff00000000007a2, as used by Octave and R Don't assume that any VXL functions will treat the value as NA rather than NaN, unless explicitly documented.
Definition at line 18 of file vil_na.cxx.
float vil_na | ( | float | ) |
A particular qNaN to indicate not available.
qNaN to indicate value Not Available.
This returns the bit pattern 0x7f8007a2 Don't assume that any VXL functions will treat the value as NA rather than NaN, unless explicitly documented.
Definition at line 45 of file vil_na.cxx.
bool vil_na_isna | ( | double | x | ) |
True if parameter is specific NA qNaN.
Tests for bit pattern 0x7ff00000000007a2, as used by Octave and R
Definition at line 57 of file vil_na.cxx.
bool vil_na_isna | ( | float | x | ) |
True if parameter is specific NA qNaN.
Tests for bit pattern 0x7F8007a2
Definition at line 70 of file vil_na.cxx.