03-02-2017, 03:31 PM
Floating-point arithmetic is inherently implementation-defined, which is covered by:
Quote:Directive 1.1 Any implementation-defned behaviour on which the output of theThe https://misra.org.uk/forum/viewtopic.php?t=1256 document on MISRA-C:2004 to MISRA C:2012 mappings states
program depends shall be documented and understood
Quote:Focussing on one aspect of floating-point arithmetic (as in MISRA C:2004 Rule 13.3) attached too much importance to that aspect and might give users a false sense of confidence.
Posted by and on behalf of the MISRA C Working Group