rtGetInf.cpp 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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: rtGetInf.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-finite, Inf and
  12. // MinusInf
  13. // Include Files
  14. #include "rtGetInf.h"
  15. #include "rt_nonfinite.h"
  16. // Function: rtGetInf
  17. // ==================================================================
  18. // Abstract:
  19. // Initialize rtInf needed by the generated code.
  20. real_T rtGetInf(void)
  21. {
  22. return rtInf;
  23. }
  24. // Function: rtGetInfF
  25. // =================================================================
  26. // Abstract:
  27. // Initialize rtInfF needed by the generated code.
  28. real32_T rtGetInfF(void)
  29. {
  30. return rtInfF;
  31. }
  32. // Function: rtGetMinusInf
  33. // =============================================================
  34. // Abstract:
  35. // Initialize rtMinusInf needed by the generated code.
  36. real_T rtGetMinusInf(void)
  37. {
  38. return rtMinusInf;
  39. }
  40. // Function: rtGetMinusInfF
  41. // ============================================================
  42. // Abstract:
  43. // Initialize rtMinusInfF needed by the generated code.
  44. real32_T rtGetMinusInfF(void)
  45. {
  46. return rtMinusInfF;
  47. }
  48. //
  49. // File trailer for rtGetInf.cpp
  50. //
  51. // [EOF]
  52. //