![]() |
integer division
the following is part of kevins accelerometer code
Code:
my debugger says it loops in a file called 16 bit integer division leading me to think that it hangs on the 2/1000 definition of t2 any ideas? |
Re: integer division
Quote:
In fact, 999/1000 = 0 unless your math routine does rounding... |
Re: integer division
lovely
how do the programmers in FIRST usually get around things like that (how do they express not whole numbers) |
Re: integer division
Quote:
-Kevin |
Re: integer division
Quote:
|
Re: integer division
Quote:
-Kevin |
| All times are GMT -5. The time now is 04:41. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi