Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added caveat wrt overflow in exception's quadratic formula

...

(Note that this example does not prevent overflow or check for invalid operations (taking the sqrt() of a negative number.) See INT32-C. Ensure that integer operations on signed integers do not result in an overflow and FLP32-C. Prevent or detect domain and range errors in math functions.

...