| messiaen Catgirl Level: 68 Posts: 83/1085 EXP: 2594047 For next: 134753 Since: 11-20-07 Since last post: 8.1 years Last activity: 7.2 years |
|
||
| Thanks for your input. I don't have a background in computer science/programming, and while understanding conversions between binary/decimal/hex isn't very difficult, floats are still a mystery to me. For now, my initial aim is to understand how to represent simple integers in this 16-bit format. This is used for texture coordinates in Mario 64. I probably will need to read much more about this, but let's see if a understood a bit of this. I want to find the decimal value of the 50DE (hex) 16-bit float. That in binary is "101000011011110" according to my Windows calculator .This is the format used ("s10e5" ): Sign bit: 1 Exponent width: 5 Significand precision: 10 (11 implicit) 1|01000|011011110 Did I do something wrong, why there is one missing bit? How do I proceed now to get my decimal value? |

.

.
