1/*
2 * rt_nonfinite.h
3 *
4 * Classroom License -- for classroom instructional use only. Not for
5 * government, commercial, academic research, or other organizational use.
6 *
7 * Code generation for model "RaspberryMagmanModelTest".
8 *
9 * Model version : 1.19
10 * Simulink Coder version : 8.11 (R2016b) 25-Aug-2016
11 * C source code generated on : Wed Dec 21 17:46:56 2016
12 *
13 * Target selection: ert.tlc
14 * Note: GRT includes extra infrastructure and instrumentation for prototyping
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
25extern real_T rtInf;
26extern real_T rtMinusInf;
27extern real_T rtNaN;
28extern real32_T rtInfF;
29extern real32_T rtMinusInfF;
30extern real32_T rtNaNF;
31extern void rt_InitInfAndNaN(size_t realSize);
32extern boolean_T rtIsInf(real_T value);
33extern boolean_T rtIsInfF(real32_T value);
34extern boolean_T rtIsNaN(real_T value);
35extern boolean_T rtIsNaNF(real32_T value);
36typedef struct {
37 struct {
38 uint32_T wordH;
39 uint32_T wordL;
40 } words;
41} BigEndianIEEEDouble;
42
43typedef struct {
44 struct {
45 uint32_T wordL;
46 uint32_T wordH;
47 } words;
48} LittleEndianIEEEDouble;
49
50typedef struct {
51 union {
52 real32_T wordLreal;
53 uint32_T wordLuint;
54 } wordL;
55} IEEESingle;
56
57#endif /* RTW_HEADER_rt_nonfinite_h_ */
58