Let's assume that we have a triple (4.56,-14.1,12767861).
We want to represent this as binary number.
How this is possible?
I apologize in advance if this is not the correct place to ask such question.
Let's assume that we have a triple (4.56,-14.1,12767861).
We want to represent this as binary number.
How this is possible?
I apologize in advance if this is not the correct place to ask such question.
If you know already have at your disposal a binary representation/coding (of fixed finite length)(*) for real numbers (**), then you can simply represent the triple by appending the three single encodings.
If you are instead thinking of the standard binary notation, with potentially infinite length, then you could also get a single representation by interleaving bits. This would hardly be practical or useful, though. Also, this question would also apply for decimal representation.
(*) For example, some IEEE 754 format. Or also the ASCII encoding of the decimal digits (to some predetermined precision and bounds).
(**) Obviously, you cannot represent exactly all real numbers with a fixed-length format, a loss of precision (and possibility of overflow/underflow must be accepted).