Hi I was wondering if anyone knows of an app that I can type in a float and it will convert it to a 32-bit hex value and vice versa? I would like to get one to test some floating point routines on my 68000 emulator.
Posted on 2005-01-05 21:34:42 by x86asm
There is an utility that can convert floats<->hex distributed with HexWorkshop.
Posted on 2005-01-05 22:18:08 by arafel
I'm pretty sure the windows calculator could do that.
Posted on 2005-01-05 23:29:39 by QuantumMatrix1024
I didn't take the time to write a spiffy GUI for it, so it's cmdline only... hope this helps. Linked with Jibz' WCRT 1.12, who said C++ is bloated? ;-) - http://f0dder.schwump.net/hexfloat.zip
Posted on 2005-01-06 02:10:22 by f0dder
Hey thanks guys ,nice proggy f0dder, its only 3KB :shock: !
I will be utilizing the programs and maybe report back on how the FP routines do on my 68000. An integer sqrt algo tested perfectly!
Posted on 2005-01-06 22:07:51 by x86asm
It could be even smaller, also written in C++, if I had done more code myself... but who cares anyway, Jibz' WCRT is cute :)

So the 68000 uses the same FP format as x86? I guess most architectures use the IEEE format?
Posted on 2005-01-07 10:28:50 by f0dder
It could be even smaller, also written in C++, if I had done more code myself... but who cares anyway, Jibz' WCRT is cute :)

So the 68000 uses the same FP format as x86? I guess most architectures use the IEEE format?


Actually its software emulation 68000 routines. Haha, they were written in 1980 :p, I think its becoming increasingly difficult to find an FPU that does not
use the IEEE format.
Posted on 2005-01-07 16:12:18 by x86asm