This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Does my embedded system have Floating Point Unit?

How do I find out if my embedded system has Floating Point Unit(FPU)? I'm using Keil tools.
Our target board uses NXP LPC2468 series Microcontroller ? Does this microcontroller have FPU? Looking in the microcontroller manual I couldn't find any information on FPU.

Parents
  • Just try a float and see what happens. I should be a bit slower.

    But your situation only has 60 answers.
    So if you insist in eliminating floating point.
    (5351/60) - (int)(5351/60) = 11
    That is 11 times 1/60'th. You can create a lookup table with 60 pre-calculated ascii decimals values in required significance (say 4, a word).
    Just assemble your full integer as string when you send it to the pc.

    But that's just dirty...

Reply
  • Just try a float and see what happens. I should be a bit slower.

    But your situation only has 60 answers.
    So if you insist in eliminating floating point.
    (5351/60) - (int)(5351/60) = 11
    That is 11 times 1/60'th. You can create a lookup table with 60 pre-calculated ascii decimals values in required significance (say 4, a word).
    Just assemble your full integer as string when you send it to the pc.

    But that's just dirty...

Children
No data