Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
garblegarble
· 12y ago · 0 comments
I think they mean an integer storing tenths of a second (so 10 = 1 second) , so 10 * (1/10) == 10 * 0.1 == 1.0
Comments
[–]
dicroce
12y ago
So, shouldn't it have just been a divide by 10?
[–]
foldr
12y ago
Multiplying by 1/10 is the same as dividing by 10.
[–]
russell
12y ago
And faster too. For older processors without hardware divide, much much faster.