27-06-2013, 05:11 PM
C99 provides for complex floating point types. What is the essential type category of each?
Welcome to the new MISRA discussion forum, if you were previously a member of our forums you may need to reset your password.
Essential Type Category of Complex Floating Types?
|
27-06-2013, 05:11 PM
C99 provides for complex floating point types. What is the essential type category of each?
12-09-2013, 09:04 AM
The essential types of complex floating point numbers should be considered as the essential types of their real and imaginary parts.
Code: float _Complex f1 = 3.0f + 2.0f*_Complex_I; The MISRA C:2012 rules for conversions/arithmetic operations etc: will then apply to these types. e.g. Code: double _Complex d1 = 3.0 + 2.0*_Complex_I;
Posted by and on behalf of the MISRA C Working Group
02-07-2024, 09:23 AM
MISRA C:2012 Amendment 3 added guidance for _Complex types... this has been consolidated into MISRA C:2023
Posted by and on behalf of the MISRA C Working Group
|
« Next Oldest | Next Newest »
|