Da Vinci Firmware 1
Firmware for the DaVinci-M rocket avionics board.
Loading...
Searching...
No Matches
rt_nonfinite.h File Reference

Provides definitions and utility functions for non-finite floating-point values. More...

#include "rtwtypes.h"
#include <math.h>
Include dependency graph for rt_nonfinite.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

boolean_T rtIsInf (real_T value)
 Checks if a double-precision value is positive or negative infinity.
 
boolean_T rtIsInfF (real32_T value)
 Checks if a single-precision value is positive or negative infinity.
 
boolean_T rtIsNaN (real_T value)
 Checks if a double-precision value is Not-a-Number (NaN).
 
boolean_T rtIsNaNF (real32_T value)
 Checks if a single-precision value is Not-a-Number (NaN).
 

Variables

real_T rtInf
 Global constant for positive infinity (double precision).
 
real_T rtMinusInf
 Global constant for negative infinity (double precision).
 
real_T rtNaN
 Global constant for Not-a-Number (double precision).
 
real32_T rtInfF
 Global constant for positive infinity (single precision).
 
real32_T rtMinusInfF
 Global constant for negative infinity (single precision).
 
real32_T rtNaNF
 Global constant for Not-a-Number (single precision).
 

Detailed Description

Provides definitions and utility functions for non-finite floating-point values.

Author
Francesco Abate, MSA (Originally generated by MATLAB Coder)
Version
23.2 (MATLAB Coder version)
Date
2025-03-04

This auto-generated header file from MATLAB Coder defines global constants for infinity (Inf) and Not-a-Number (NaN), and provides wrapper functions to check for these special values.

Using these wrappers ensures consistent behavior across different compilers and platforms, which is a requirement for code generated from MATLAB. These are low-level utilities used by various control algorithms.

Definition in file rt_nonfinite.h.