问题
How would I implement floating point operations if I only have memory locations that are 16 bits wide?
I am trying to implement IEEE-754 32-bit single precision floating point.
Thank you
回答1:
There is a 16bit version of IEEE754
回答2:
I ended up figuring out that there is no easy way to to this. I had to create my own software library for all of the functions in assembly.
If anybody has questions regarding how to do this, I implemented add,subtract,multiply,square root, divide, cosine, and sine.
来源:https://stackoverflow.com/questions/8811977/how-to-implement-floating-point-using-16-bit-words