12345678910111213141516171819202122232425262728293031323334353637383940 |
- #ifndef RTW_HEADER_rt_nonfinite_h_
- #define RTW_HEADER_rt_nonfinite_h_
- #include <stddef.h>
- #include "rtwtypes.h"
- #define NOT_USING_NONFINITE_LITERALS 1
- extern real_T rtInf;
- extern real_T rtMinusInf;
- extern real_T rtNaN;
- extern real32_T rtInfF;
- extern real32_T rtMinusInfF;
- extern real32_T rtNaNF;
- extern void rt_InitInfAndNaN(size_t realSize);
- extern boolean_T rtIsInf(real_T value);
- extern boolean_T rtIsInfF(real32_T value);
- extern boolean_T rtIsNaN(real_T value);
- extern boolean_T rtIsNaNF(real32_T value);
- typedef struct {
- struct {
- uint32_T wordH;
- uint32_T wordL;
- } words;
- } BigEndianIEEEDouble;
- typedef struct {
- struct {
- uint32_T wordL;
- uint32_T wordH;
- } words;
- } LittleEndianIEEEDouble;
- typedef struct {
- union {
- real32_T wordLreal;
- uint32_T wordLuint;
- } wordL;
- } IEEESingle;
- #endif
|