• Zaktor@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    6
    ·
    vor 10 Monaten

    In this language you would account for this behavior so all comparisons and lookups would be designed to be valid for the increased range. To do this you’d have to record integers in increments of 10, so there would be no (or very few) off-by-40-to-50 errors, or off-by-1 errors, but there would be off-by-10 errors.

  • yetAnotherUser
    link
    fedilink
    English
    arrow-up
    1
    ·
    vor 10 Monaten

    Welp, guess it’s time for:

    for(float i = 0.0; ....) {...}
    
    
  • loiakdsf
    link
    fedilink
    English
    arrow-up
    1
    ·
    vor 10 Monaten

    but therewill be occurences when you add/subtract the same number when writing and reading an int, so it is not entirely eliminated