• karlthemailman@sh.itjust.works
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Yeah, that was my guess too. But that just means they could return a long (or whatever the 64 bit int equivalent in java is) instead of an int.

    • Akagigahara@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Okay, so I dug in a bit deeper. Doubles are standardized as a 64 bit bundle that is divided into 1 signed bit, 11 exponetioal bits and 52 bits for decimal. It’s quite interesting. As to how it works indepth, I probably will try to analyze a bit conversion if I can try something