I am wondering how to implement IEEE-754 32-bit single precision floating point division in binary with no division hardware and no floating point hardware?
I have shifting hardware, add, subtract, and multiply.
I have already implemented floating point multiplication, addition, and subtraction using 16-bit words.
I am implementing these instructions on a proprietary multicore processor and writing my code in assembly. Beforehand, I am using matlab to verify my algorithm.
I know I need to subtract the exponents, but how do i perform unsigned division on the mantissas?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…