• Captain Aggravated
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 months ago

    I wonder what would happen if it was a singed long, and it landed somewhere in the negatives after overflowing multiple times?

    Negative forty-eight thousand, six hundred thirty-three bottles of beer on the wall,

    Negative forty-eight thousand, six hundred thirty-three bottles of beer

    You take one down, pass it around,

    Negative forty-eight thousand, six hundred thirty-four bottles of beer on the wall

    • TheOakTree@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      4 months ago

      Well, silly me, I should have specified that I did my calculation with signed long, though it shouldn’t affect the outcome much given my rounding at the hundreds.

      I like the idea of beer debt to the wall, though!

      • Captain Aggravated
        link
        fedilink
        English
        arrow-up
        1
        ·
        4 months ago

        I once wrote a Python script that implemented this song, I could probably abuse that old program to make this nonsense happen.