What is the difference between overflow in the context of two’s complement numbers and overflow in the context of floating?point numbers?

What will be an ideal response?

In two’s complement arithmetic, arithmetic overflow occurs when a result goes out of range (that is, more

positive than or more negative than When arithmetic overflow occurs, the sign of the computed result is different to the correct result.



In floating?point arithmetic, overflow occurs when the exponent of a floating?point number becomes too large to be represented in the format in use. The number is now too big to be stored and, usually, an exception is generated.

Computer Science & Information Technology

You might also like to view...

A research paper using MLA style includes which of the following formats?

A) 1.15" margins B) 10 pt spacing after paragraphs C) Single spacing D) Double spacing

Computer Science & Information Technology

The audio sound type (.au) is typically used on Unix computers

Indicate whether the statement is true or false

Computer Science & Information Technology