
Feb. 20, 2022
12:07 a.m.
Christopher Barker wrote:
On Sat, Feb 19, 2022 at 6:31 AM Damian Shaw damian.peter.shaw@gmail.com wrote:
That sounds like a lot of extra checks to put on "/" This isn’t about the division — it’s about the literal.
No, it's about the division. Not about the literal. Sorry I was unclear. I don't want 1e200 to become an int, I meant the division could be as "semi-heroic" (as Tim put it) as the int/int division. That is, when it notices the overflow, instead of just raising the error it could check whether the float is an integer and provide the result that way.