PDA

View Full Version : "High level" ( LOL ) Arithmetics ...



Acetronics2
- 2nd February 2008, 15:47
an instructive and useful link :

http://wehner.org/fpoint/

Alain

skimask
- 2nd February 2008, 19:33
an instructive and useful link :
http://wehner.org/fpoint/
Alain

Hey, some of that just might come in handy.
I've got a program going right now that does 56 multiplications and 16 divisions (most using LONGs) in one course thru a loop, along with various other display functions, bit shifts, etc, and that's just in the main loop, it's not including the other math done inside of various subroutines. At 40Mhz on an 18F4620, I get 1.52 loops per second.
Accuracy is paramount, but in a brief reading of that page, some of the accuracy I'm going for might just be a fruitless attempt...the whole diminishing returns thing...95% of the work is done by 5% of the people...and so on...
A decent read nonetheless...