Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
32-bit IEEE float multiplication
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Andy, post: 1691867"] Yes, the tick is incremented in an ISR. All this discussion about using integer arithmetic is fine as long the tick resolution is even multiples of a second, but happens say if you need to increment the tick once every 17.321 milliseconds? How would you do that using integer? I guess what I'm interested in is what is the maximum error can I expect for the formula fElapsedSecs = ulElapsedTicks * 0.004; If I'm correct, the max error is very small like < 1e-4% for the full range of 32-bit value of ulElapsedTicks. Correct?? TIA Andy [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
32-bit IEEE float multiplication
Top