File: rt_nonfinite.h

    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    * rt_nonfinite.h
    7    *
    8    * Code generation for function 'calculateTransformations'
    9    *
   10    */
   11   
   12   #ifndef __RT_NONFINITE_H__
   13   #define __RT_NONFINITE_H__
   14   #if defined(_MSC_VER) && (_MSC_VER <= 1200)
   15   #include <float.h>
   16   #endif
   17   
   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
   54   
   55   /* End of code generation (rt_nonfinite.h) */
   56