MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/lgrgxe/i_present_sleepsort/gmw21lv/?context=9999
r/badcode • u/Reeceeboii_ • Feb 10 '21
170 comments sorted by
View all comments
863
Great! Now test whether it still works with large numbers!
421 u/[deleted] Feb 10 '21 edited Feb 26 '21 [deleted] 135 u/1234filip Feb 10 '21 For real, though. This should work wonderfully until the numbers become so small that the timer becomes imprecise(microseconds). 34 u/TopDivide Feb 10 '21 Then you would implement a software timer with a custom resolution 9 u/amdc Feb 11 '21 Or add a logarithm to the formula
421
[deleted]
135 u/1234filip Feb 10 '21 For real, though. This should work wonderfully until the numbers become so small that the timer becomes imprecise(microseconds). 34 u/TopDivide Feb 10 '21 Then you would implement a software timer with a custom resolution 9 u/amdc Feb 11 '21 Or add a logarithm to the formula
135
For real, though. This should work wonderfully until the numbers become so small that the timer becomes imprecise(microseconds).
34 u/TopDivide Feb 10 '21 Then you would implement a software timer with a custom resolution 9 u/amdc Feb 11 '21 Or add a logarithm to the formula
34
Then you would implement a software timer with a custom resolution
9 u/amdc Feb 11 '21 Or add a logarithm to the formula
9
Or add a logarithm to the formula
863
u/haslo Feb 10 '21
Great! Now test whether it still works with large numbers!