what are the algorithms used in the processor for floating point division.
I followed one basic algorithm such that x/y.
1.sign=s1 xor s2
2.exp=e1-e2-127;
3.mant=mant1/mant2;
in the third step i got a problem when mant1 > mant2 i had one algorithm .but that not works when mant1<mant2.
Is there any algorithm to find this, it is indirectly a binary division of 24 bits.
I followed one basic algorithm such that x/y.
1.sign=s1 xor s2
2.exp=e1-e2-127;
3.mant=mant1/mant2;
in the third step i got a problem when mant1 > mant2 i had one algorithm .but that not works when mant1<mant2.
Is there any algorithm to find this, it is indirectly a binary division of 24 bits.