• magic_lobster_party
    link
    fedilink
    442 months ago

    It’s useful to know that floats don’t have unlimited precision, and why adding a very large number with a very small number isn’t going to work well.

    • Cyborganism
      link
      fedilink
      English
      22 months ago

      Yeah but you don’t really have to think about how it works in the background ever time you deal with that. You just know.

      You learn how once and then you just remember not to do that and that’s it.

      • magic_lobster_party
        link
        fedilink
        22 months ago

        I agree we don’t generally need think about the technical details. It’s just good to be aware of the exponent and mantissa parts to better understand where the inaccuracies of floating point numbers come from.