1 | /* |
2 | * File: rt_nonfinite.h |
3 | * |
4 | * Code generated for Simulink model 'untitled'. |
5 | * |
6 | * Model version : 1.0 |
7 | * Simulink Coder version : 8.12 (R2017a) 16-Feb-2017 |
8 | * C/C++ source code generated on : Thu Mar 14 11:23:20 2019 |
9 | * |
10 | * Target selection: ert.tlc |
11 | * Embedded hardware selection: Atmel->AVR |
12 | * Code generation objectives: Unspecified |
13 | * Validation result: Not run |
14 | */ |
15 | |
16 | #ifndef RTW_HEADER_rt_nonfinite_h_ |
17 | #define RTW_HEADER_rt_nonfinite_h_ |
18 | #include <stddef.h> |
19 | #include "rtwtypes.h" |
20 | |
21 | extern real_T rtInf; |
22 | extern real_T rtMinusInf; |
23 | extern real_T rtNaN; |
24 | extern real32_T rtInfF; |
25 | extern real32_T rtMinusInfF; |
26 | extern real32_T rtNaNF; |
27 | extern void rt_InitInfAndNaN(size_t realSize); |
28 | extern boolean_T rtIsInf(real_T value); |
29 | extern boolean_T rtIsInfF(real32_T value); |
30 | extern boolean_T rtIsNaN(real_T value); |
31 | extern boolean_T rtIsNaNF(real32_T value); |
32 | typedef struct { |
33 | struct { |
34 | uint32_T wordH; |
35 | uint32_T wordL; |
36 | } words; |
37 | } BigEndianIEEEDouble; |
38 | |
39 | typedef struct { |
40 | struct { |
41 | uint32_T wordL; |
42 | uint32_T wordH; |
43 | } words; |
44 | } LittleEndianIEEEDouble; |
45 | |
46 | typedef struct { |
47 | union { |
48 | real32_T wordLreal; |
49 | uint32_T wordLuint; |
50 | } wordL; |
51 | } IEEESingle; |
52 | |
53 | #endif /* RTW_HEADER_rt_nonfinite_h_ */ |
54 | |
55 | /* |
56 | * File trailer for generated code. |
57 | * |
58 | * [EOF] |
59 | */ |
60 |