0 Members and 1 Guest are viewing this topic.
well, if anyone still wants a command line program to convert decimal floating points to hex floating points, here you go. hand written by yours truly. max precision is 8 bytes after the decimal point. let me know if there's any bugs.edit: it will crash if the input number is too longit does not support negative numbers!:it's up to the implementer of the floating point routines whether negatives should be one's complement of the positives, or should the msb just be flipped?i.e.: since 32.25d = 20.40h, should -32.25d = A0.40h or DF.C0h ?