rt_nonfinite.cpp 942 B

123456789101112131415161718192021222324252627282930
  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. // File: rt_nonfinite.cpp
  6. //
  7. // MATLAB Coder version : 5.3
  8. // C/C++ source code generated on : 25-Apr-2023 21:10:09
  9. //
  10. // Abstract:
  11. // MATLAB for code generation function to initialize non-finites,
  12. // (Inf, NaN and -Inf).
  13. // Include Files
  14. #include "rt_nonfinite.h"
  15. #include <cmath>
  16. #include <limits>
  17. real_T rtNaN{std::numeric_limits<real_T>::quiet_NaN()};
  18. real_T rtInf{std::numeric_limits<real_T>::infinity()};
  19. real_T rtMinusInf{-std::numeric_limits<real_T>::infinity()};
  20. real32_T rtNaNF{std::numeric_limits<real32_T>::quiet_NaN()};
  21. real32_T rtInfF{std::numeric_limits<real32_T>::infinity()};
  22. real32_T rtMinusInfF{-std::numeric_limits<real32_T>::infinity()};
  23. //
  24. // File trailer for rt_nonfinite.cpp
  25. //
  26. // [EOF]
  27. //