floating point division.

Discussion in 'Embedded Systems and Microcontrollers' started by manikanta.mashetti, Jan 21, 2014.

  1. manikanta.mashetti

    Thread Starter New Member

    Jan 13, 2014
    3
    0
    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.
     
  2. atferrari

    AAC Fanatic!

    Jan 6, 2004
    2,644
    759
    Microchip has very old application notes where the algorithm is well explained (and implemented).
     
Loading...