• Lmaydev
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    10 months ago

    I feel like that’s adding overhead to every operation to catch the few operations that could result in a nan.

    But I guess you could provide alternative safe versions of float operations to account for this. Which may be what you meant thinking about it lol

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      10 months ago

      I would want the safe version to be the default, but yeah, both should exist. 🙃