Re:The axle count of trains in Switzerland must not be a mul...
by masklinn on Monday July 11, 2016 @11:01AM
(#12071501)
Or the tweeter is smart enough to realise a likely origin of the limitation and uses that directly.
Considering the tweeter in question, I'd go with the second one.
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 :)
Re:The axle count of trains in Switzerland must not be a mul...
by tlrobinson on Monday July 11, 2016 @11:03AM
(#12071514)
I think the author was just suggesting this is due to 256 causing an 8 bit unsigned integer to overflow.
Re:The axle count of trains in Switzerland must not be a mul...
by kps on Monday July 11, 2016 @11:15AM
(#12071605)
2⁸?
Re:The axle count of trains in Switzerland must not be a mul...
by Bromskloss on Monday July 11, 2016 @11:50AM
(#12071864)
See? It still takes three characters.
If you're trying to save characters in a tweet, you don't have any savings in using exponential over decimal for base two until 2^14.