bugs about TICKS function - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: HP Prime (/forum-5.html) +--- Thread: bugs about TICKS function (/thread-10661.html) |
bugs about TICKS function - wangchong01 - 05-04-2018 05:10 AM Hello, I found that the system tick of HP Prime runs backwards 10ms sometimes, for example: <code> EXPORT main() BEGIN LOCAL lt:=TICKS(),tt; WHILE 1 DO tt:=TICKS(); IF tt<lt THEN PRINT(lt+" "+tt); END; lt:=tt; END; END; </code> Then I get lots of tt=lt-10. RE: bugs about TICKS function - toml_12953 - 05-04-2018 10:20 PM (05-04-2018 05:10 AM)wangchong01 Wrote: Hello, Congratulations! You've built a time machine (albeit for very small jumps) RE: bugs about TICKS function - LT_learner - 05-07-2018 04:13 PM Interesting: When replicating the issue I found the 10 ms jumps but only in cases when times were multiples of 10 ms. That is, lt = XXX90 and tt = XXX80, BUT NOT lt = XXX93 and tt = XXX83. A piece of the puzzle perhaps. |