control/Control Vectorial/real/Alinear_encoder_sg_rtw/rt_nonfinite.h
2025-09-03 11:21:53 +02:00

71 lines
1.7 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 "Alinear_encoder".
*
* Model version : 1.3
* Simulink Coder version : 24.2 (R2024b) 21-Jun-2024
* C++ source code generated on : Fri Aug 22 11:49:38 2025
*
* Target selection: speedgoat.tlc
* Note: GRT includes extra infrastructure and instrumentation for prototyping
* Embedded hardware selection: Intel->x86-64 (Linux 64)
* Code generation objectives: Unspecified
* Validation result: Not run
*/
#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_ */