65 lines
1.2 KiB
C
65 lines
1.2 KiB
C
/*
|
|
* Academic License - for use in teaching, academic research, and meeting
|
|
* course requirements at degree granting institutions only. Not for
|
|
* government, commercial, or other organizational use.
|
|
* File: rt_nonfinite.h
|
|
*
|
|
* MATLAB Coder version : 24.1
|
|
* C/C++ source code generated on : 2025-04-09 02:18:34
|
|
*/
|
|
|
|
#ifndef RT_NONFINITE_H
|
|
#define RT_NONFINITE_H
|
|
|
|
/* Include Files */
|
|
#include "rtwtypes.h"
|
|
|
|
typedef struct {
|
|
struct {
|
|
uint32_T wordH;
|
|
uint32_T wordL;
|
|
} words;
|
|
} BigEndianIEEEDouble;
|
|
|
|
typedef struct {
|
|
struct {
|
|
uint32_T wordL;
|
|
uint32_T wordH;
|
|
} words;
|
|
} LittleEndianIEEEDouble;
|
|
|
|
typedef struct {
|
|
union {
|
|
real32_T wordLreal;
|
|
uint32_T wordLuint;
|
|
} wordL;
|
|
} IEEESingle;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern real_T rtInf;
|
|
extern real_T rtMinusInf;
|
|
extern real_T rtNaN;
|
|
extern real32_T rtInfF;
|
|
extern real32_T rtMinusInfF;
|
|
extern real32_T rtNaNF;
|
|
|
|
extern void rt_InitInfAndNaN(void);
|
|
|
|
extern boolean_T rtIsInf(real_T value);
|
|
extern boolean_T rtIsInfF(real32_T value);
|
|
extern boolean_T rtIsNaN(real_T value);
|
|
extern boolean_T rtIsNaNF(real32_T value);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|
|
/*
|
|
* File trailer for rt_nonfinite.h
|
|
*
|
|
* [EOF]
|
|
*/
|