rtGetNaN.cpp 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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: rtGetNaN.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, NaN
  12. // Include Files
  13. #include "rtGetNaN.h"
  14. #include "rt_nonfinite.h"
  15. // Function: rtGetNaN
  16. // ======================================================================
  17. // Abstract:
  18. // Initialize rtNaN needed by the generated code.
  19. // NaN is initialized as non-signaling. Assumes IEEE.
  20. real_T rtGetNaN(void)
  21. {
  22. return rtNaN;
  23. }
  24. // Function: rtGetNaNF
  25. // =====================================================================
  26. // Abstract:
  27. // Initialize rtNaNF needed by the generated code.
  28. // NaN is initialized as non-signaling. Assumes IEEE
  29. real32_T rtGetNaNF(void)
  30. {
  31. return rtNaNF;
  32. }
  33. //
  34. // File trailer for rtGetNaN.cpp
  35. //
  36. // [EOF]
  37. //