1 | /* |
2 | * Academic License - for use in teaching, academic research, and meeting |
3 | * course requirements at degree granting institutions only. Not for |
4 | * government, commercial, or other organizational use. |
5 | * |
6 | * File: rt_nonfinite.h |
7 | * |
8 | * Code generated for Simulink model 'magneto_tarato'. |
9 | * |
10 | * Model version : 1.19 |
11 | * Simulink Coder version : 8.12 (R2017a) 16-Feb-2017 |
12 | * C/C++ source code generated on : Tue Nov 07 14:03:19 2017 |
13 | * |
14 | * Target selection: ert.tlc |
15 | * Embedded hardware selection: ARM Compatible->ARM Cortex |
16 | * Code generation objectives: Unspecified |
17 | * Validation result: Not run |
18 | */ |
19 | |
20 | #ifndef RTW_HEADER_rt_nonfinite_h_ |
21 | #define RTW_HEADER_rt_nonfinite_h_ |
22 | #include <stddef.h> |
23 | #include "rtwtypes.h" |
24 | |
25 | extern real_T rtInf; |
26 | extern real_T rtMinusInf; |
27 | extern real_T rtNaN; |
28 | extern real32_T rtInfF; |
29 | extern real32_T rtMinusInfF; |
30 | extern real32_T rtNaNF; |
31 | extern void rt_InitInfAndNaN(size_t realSize); |
32 | extern boolean_T rtIsInf(real_T value); |
33 | extern boolean_T rtIsInfF(real32_T value); |
34 | extern boolean_T rtIsNaN(real_T value); |
35 | extern boolean_T rtIsNaNF(real32_T value); |
36 | typedef struct { |
37 | struct { |
38 | uint32_T wordH; |
39 | uint32_T wordL; |
40 | } words; |
41 | } BigEndianIEEEDouble; |
42 | |
43 | typedef struct { |
44 | struct { |
45 | uint32_T wordL; |
46 | uint32_T wordH; |
47 | } words; |
48 | } LittleEndianIEEEDouble; |
49 | |
50 | typedef struct { |
51 | union { |
52 | real32_T wordLreal; |
53 | uint32_T wordLuint; |
54 | } wordL; |
55 | } IEEESingle; |
56 | |
57 | #endif /* RTW_HEADER_rt_nonfinite_h_ */ |
58 | |
59 | /* |
60 | * File trailer for generated code. |
61 | * |
62 | * [EOF] |
63 | */ |
64 |