65 lines
1.4 KiB
C
65 lines
1.4 KiB
C
/*
|
|
* rt_nonfinite.h
|
|
*
|
|
* Academic License - for use in teaching, academic research, and meeting
|
|
* course requirements at degree granting institutions only. Not for
|
|
* government, commercial, or other organizational use.
|
|
*
|
|
* Code generation for model "VFControl".
|
|
*
|
|
* Model version : 1.1
|
|
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
|
* C++ source code generated on : Wed Oct 16 10:45:53 2024
|
|
*/
|
|
|
|
#ifndef rt_nonfinite_h_
|
|
#define rt_nonfinite_h_
|
|
#include <stddef.h>
|
|
#include "rtwtypes.h"
|
|
#define NOT_USING_NONFINITE_LITERALS 1
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
{
|
|
|
|
#endif
|
|
|
|
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);
|
|
struct BigEndianIEEEDouble {
|
|
struct {
|
|
uint32_T wordH;
|
|
uint32_T wordL;
|
|
} words;
|
|
};
|
|
|
|
struct LittleEndianIEEEDouble {
|
|
struct {
|
|
uint32_T wordL;
|
|
uint32_T wordH;
|
|
} words;
|
|
};
|
|
|
|
struct IEEESingle {
|
|
union {
|
|
real32_T wordLreal;
|
|
uint32_T wordLuint;
|
|
} wordL;
|
|
};
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
#endif /* rt_nonfinite_h_ */
|