rt_nonfinite.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. * File: rt_nonfinite.h
  3. *
  4. * Code generated for Simulink model 'SOC'.
  5. *
  6. * Model version : 1.15
  7. * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020
  8. * C/C++ source code generated on : Wed Aug 11 09:45:09 2021
  9. */
  10. #ifndef RTW_HEADER_rt_nonfinite_h_
  11. #define RTW_HEADER_rt_nonfinite_h_
  12. #include <stddef.h>
  13. #include "rtwtypes.h"
  14. extern real_T rtInf;
  15. extern real_T rtMinusInf;
  16. extern real_T rtNaN;
  17. extern real32_T rtInfF;
  18. extern real32_T rtMinusInfF;
  19. extern real32_T rtNaNF;
  20. extern void rt_InitInfAndNaN(size_t realSize);
  21. extern boolean_T rtIsInf(real_T value);
  22. extern boolean_T rtIsInfF(real32_T value);
  23. extern boolean_T rtIsNaN(real_T value);
  24. extern boolean_T rtIsNaNF(real32_T value);
  25. typedef struct {
  26. struct {
  27. uint32_T wordH;
  28. uint32_T wordL;
  29. } words;
  30. } BigEndianIEEEDouble;
  31. typedef struct {
  32. struct {
  33. uint32_T wordL;
  34. uint32_T wordH;
  35. } words;
  36. } LittleEndianIEEEDouble;
  37. typedef struct {
  38. union {
  39. real32_T wordLreal;
  40. uint32_T wordLuint;
  41. } wordL;
  42. } IEEESingle;
  43. #endif /* RTW_HEADER_rt_nonfinite_h_ */
  44. /*
  45. * File trailer for generated code.
  46. *
  47. * [EOF]
  48. */