Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this non-compliant code, the floating point variables d, e, and f are not initialized correctly because the operations take place before the values are converted to floating point values and hence the results are truncated to the nearest decimal point integer or may overflow. Consequently, the division and multiplication operations take place on integers and then get converted to floating point.

...