in reply to Re^2: How to convert negative and positive floating points to binary and vice versa
in thread How to convert negative and positive floating points to binary and vice versa
I would like to have an 8 bit negative/positive floating point.
You want an 8-bit floating point value. Why?
A floating point value consists of 3 parts:
This scales the size of the value, and 1-bit indicates whether it is either bigger or smaller.
These bits define the precision of the values tha can be represented.
Assuming that you go for 4 bits of precision, that leaves 3 bits for scaling, means you could represent numbers between +/- 0.001 and +/- 150, which is a pretty useless format.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to convert negative and positive floating points to binary and vice versa
by thanos1983 (Parson) on Sep 21, 2014 at 02:35 UTC |