• @Acetamide
    link
    1610 months ago

    AFAIK most typed languages have this behaviour.

      • larvyde
        link
        fedilink
        110 months ago

        Yea but at those values floating points can’t represent fractions anyway

        • @[email protected]
          link
          fedilink
          110 months ago

          Exactly. So if cast to int you’d either get an error or 0 for everything above a certain value.