|
STIR 6.4.0
|
Definition of work-around macros STIR_isnan and STIR_finite for a few non-portable IEEE floating point functions. More...
Go to the source code of this file.
Macros | |
| #define | STIR_isnan(x) |
| #define | STIR_finite(x) |
| #define | STIR_finite finite |
| #define | STIR_isnan isnan |
Definition of work-around macros STIR_isnan and STIR_finite for a few non-portable IEEE floating point functions.
| #define STIR_isnan | ( | x | ) |
A (hopefully) portable way to call isnan. Current implementation does not always find isnan and then reverts to (x)!=(x), which according to IEEE math should work as well.
| #define STIR_finite | ( | x | ) |
A (hopefully) portable way to call finite. But problems can occur on your system. Current implementation does not always find finite and then reverts to true.
| #define STIR_finite finite |
A (hopefully) portable way to call finite. But problems can occur on your system. Current implementation does not always find finite and then reverts to true.
| #define STIR_isnan isnan |
A (hopefully) portable way to call isnan. Current implementation does not always find isnan and then reverts to (x)!=(x), which according to IEEE math should work as well.