Comment on Bill and Melinda French Gates and Warren Buffett’s Giving Pledge after 15 years: Only 9 of the 256 billionaires actually followed through on giving away half their wealth

<- View Parent
boonhet@sopuli.xyz ⁨1⁩ ⁨week⁩ ago

Well still 255 for maximum count if you’re using an 8-bit number to COUNT billionaires like your initial comment said - but if you’re using an 8-bit number to index your collection of billionaires, then yes, you could get up to 256.

For counting we should always at least have the possibility of a 0 value, hence we count actual billionaires from 1-255. With indexing, 0 is already the first billionaire, so we get billionaires from 0-255, or a total of 256

source
Sort:hotnewtop