Age | Commit message (Collapse) | Author |
|
|
|
the number, works very well. The output is still encoded with bytes as base-256
digits of the number.
|
|
now as it could be, but it is universal, which is preferable in many cases.
We effectively use a normalized base-256 format to store the number, with a
scale, also with a base of 256. Basically, with x86 doubles, the C99 standard
textual, lossless hex encoding format is at max 23 bytes. This encoding is
equivelent but at max 11 bytes, including the format specifier ('f').
|
|
|
|
snprintf code. I really need to write my own number parser/writer.
|
|
more helpers to make it as easy to use as possible.
|
|
as a string, with a string header and then string data that is then turned into
a float. It's pretty much how it's going to work, unless I come up with
something revolutionary.
|
|
|