Re:The axle count of trains in Switzerland must not be a mul...
by joneholland on Monday July 11, 2016 @11:06AM
(#12071534)
Except I doubt it's a bit math bug, or the warning would be very clear about 16, 32, 64 axle trains etc
It's likely that the axle count is stored as a 8-bit unsigned integer.
Re:The axle count of trains in Switzerland must not be a mul...
by masklinn on Monday July 11, 2016 @11:07AM
(#12071540)
> Except I doubt it's a bit math bug
What are you even talking about?
> It's likely that the axle count is stored as a 8-bit unsigned integer.
Which is exactly the point of writing it as 2^8…
Re:The axle count of trains in Switzerland must not be a mul...
by joneholland on Monday July 11, 2016 @11:16AM
(#12071614)
Somehow I read the original tweet as "by powers of 2" and not 2 to the 8th.
I blame my lack of morning coffee :)
Considering the tweeter in question, I'd go with the second one.