you are viewing a single comment's thread
view the rest of the comments
[–] 9 points 7 months ago (1 child)

it all fit in int64 tho, so could be worse

  • source
  • hideshow 2 child comments
  • [–] 2 points 7 months ago (2 children)

    I always have this thought. I'm doing it in Rust, so I check if there are negative numbers: if not, use usize. But I'm always terrified there will be an overflow somewhere.

    If I were using Kotlin or Java, I might always use BigInteger just out of fear.

  • source
  • parent
  • hideshow 4 child comments