2 to the power of 16, which means:
1. Total number of possible states for a 16 bit integer
2. Max excel spreadsheet rows
3. 65536 * 65536 = 2 to the power of 32
4. Only one prime factor: 2
1. Total number of possible states for a 16 bit integer
2. Max excel spreadsheet rows
3. 65536 * 65536 = 2 to the power of 32
4. Only one prime factor: 2
Good C dev: What the fuck is that unsigned short doing as a loop counter?!?!
Bad C dev: None of the tests I ran needed to do 65536 or more iterations.
Good C dev: *violently gut punches the bad C dev*
Bad C dev: *groaning in pain* Sir! Yes sir! I'll get right on it and fix it.
Good C dev: Don't let me see you make that mistake again, or I'll have to bring out my Undefined Behavior whip.
Bad C dev: *shudders*
Bad C dev: None of the tests I ran needed to do 65536 or more iterations.
Good C dev: *violently gut punches the bad C dev*
Bad C dev: *groaning in pain* Sir! Yes sir! I'll get right on it and fix it.
Good C dev: Don't let me see you make that mistake again, or I'll have to bring out my Undefined Behavior whip.
Bad C dev: *shudders*
by Bad C dev February 09, 2021
by Troy0 July 10, 2013