2147483648 is... a... LONG nuMBER, ha HA
(a long is an integer variable type in c++ which handles numbers from -2147483648 to 2147483647. programming languages express numbers in binary so their range is limited to some power of 2. 2147483648 = 2^31)
(1): Why is geometricMeanOfLongs being weird
(2): Oh, I don't know, maybe because u r m u l t i p l y i ng t h e m l a r g e r t h a n 2147483648
by Random Chicken March 13, 2022
Get the 2147483648 mug.
The number unsigned 32 bit binary rolls to when it overflows, yeah I used the decimal translation of 1111111111111111111111111111111110000000000000000000000000000000 (sorry if inaccurate) so um yeah, no more info
Person 1: HELP MY 32 BIT DECIMAL ROLLED OVER TO -2147483648 PLS HELP
Person 2: I'm a coder maybe I can help
2 hours later
Person 2: there, fixed, it will not roll over anymore but google cannot handle the signed 1024 bit integer limit so it would just crash if it hit 2¹⁰²⁴
Get the -2147483648 mug.