Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Unexpected fun (or fun facts)

    Coding
    fun
    8
    23
    2070
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Gothon
      Gothon F @PickleCatStars last edited by Gothon

      @toxibunny said in Unexpected fun (or fun facts):

      What if x was set to be 4294967295?

      You will get 4294967295 + 4294967295 = -2 because 4294967295 = 2^32 - 1. Valid values for 32 bit (4 byte) signed numbers go from -2^31 to 2^31 - 1 (-2147483648 to 2147483647), anything outside that range wraps around. Eg, 2147483648 = -2147483648

      1 Reply Last reply Reply Quote 1
      • Ben 2.0
        Ben 2.0 last edited by

        I asked my lawyer if it was a crime to throw Sodium Chloride at a person.
        Lawyer: yes, it's assault
        Me: I know it's a salt but is it a crime?!?

        1 Reply Last reply Reply Quote 6
        • JMM161437
          JMM161437 F last edited by

          So I told my boss there were some bugs in the server and he hired an exterminator to spray it down

          1 Reply Last reply Reply Quote 3
          • First post
            Last post