How to implement floating point using 16 bit words

僤鯓⒐⒋嵵緔 提交于 2019-12-11 15:32:50

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!