1/*
2 * rt_nonfinite.h
3 *
4 * Academic License - for use in teaching, academic research, and meeting
5 * course requirements at degree granting institutions only. Not for
6 * government, commercial, or other organizational use.
7 *
8 * Code generation for model "Arduino_skal".
9 *
10 * Model version : 1.1
11 * Simulink Coder version : 9.5 (R2021a) 14-Nov-2020
12 * C++ source code generated on : Thu Apr 15 15:56:50 2021
13 *
14 * Target selection: grt.tlc
15 * Note: GRT includes extra infrastructure and instrumentation for prototyping
16 * Embedded hardware selection: Intel->x86-64 (Windows64)
17 * Code generation objective: Debugging
18 * Validation result: Not run
19 */
20
21#ifndef RTW_HEADER_rt_nonfinite_h_
22#define RTW_HEADER_rt_nonfinite_h_
23#include <stddef.h>
24#include "rtwtypes.h"
25#ifdef __cplusplus
26
27extern "C" {
28
29#endif
30
31 extern real_T rtInf;
32 extern real_T rtMinusInf;
33 extern real_T rtNaN;
34 extern real32_T rtInfF;
35 extern real32_T rtMinusInfF;
36 extern real32_T rtNaNF;
37 extern void rt_InitInfAndNaN(size_t realSize);
38 extern boolean_T rtIsInf(real_T value);
39 extern boolean_T rtIsInfF(real32_T value);
40 extern boolean_T rtIsNaN(real_T value);
41 extern boolean_T rtIsNaNF(real32_T value);
42 struct BigEndianIEEEDouble {
43 struct {
44 uint32_T wordH;
45 uint32_T wordL;
46 } words;
47 };
48
49 struct LittleEndianIEEEDouble {
50 struct {
51 uint32_T wordL;
52 uint32_T wordH;
53 } words;
54 };
55
56 struct IEEESingle {
57 union {
58 real32_T wordLreal;
59 uint32_T wordLuint;
60 } wordL;
61 };
62
63#ifdef __cplusplus
64
65} /* extern "C" */
66#endif
67#endif /* RTW_HEADER_rt_nonfinite_h_ */
68