Please Help Important [is there FP support]

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Does AVR Supports Floating point values up till 2decimal; places?
if yea then which series :(

[thread title edited - please stop and think next time "Please help important" tells the reader NOTHING about what the thread contains]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Again, all of them

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Almost all C compilers support IEEE 754.

This is fully independent from the target type (8051, AVR, PIC, ...).

Peter

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks alot

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Even the Turing machine supports it...Which is another way of saying that, althought none of the AVRs, that I've heard of, have on-board hardware that performs FP calculations, it is nonetheless possible to achieve in software. Won't be as fast as dedicated hardware.
Also, if you only need two decimal places, it's often possible to simply multiply everything by 100 and use integer maths.
Since Kartman says "again", I'm guessing that you've already been given this information in another thread?

Four legs good, two legs bad, three legs stable.