I
I
Ivan the Terrible2015-10-14 16:07:29
Java
Ivan the Terrible, 2015-10-14 16:07:29

How are negative real numbers represented in a computer?

Interested in how negative real numbers are represented in computer memory.
The positive ones are understandable. The whole part is translated as an ordinary whole. And according to the algorithm, we multiply the mantissa by 2 if ...
And how are negative real numbers represented?
How to translate them from 10 ss to 2 ss?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Kitmanov, 2015-10-14
@warriorkg

Just like integers, one bit is given per sign. The Russian Wikipedia is somehow scarce, there is in English . In general, the standard is called IEEE 754.

T
tsarevfs, 2015-10-14
@tsarevfs

habrahabr.ru/post/112953
You also wrote something strange about the positive ones.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question