Feb. 20, 2022
11:17 a.m.
On Sat, Feb 19, 2022 at 1:37 PM Stefan Pochmann <smpochmann@gmail.com> wrote:
So could/should 10**400 / 1e200 be implemented to do that instead of raising the error? Or is it a too rare use case and not worth the effort, or does something else speak against it?
For me, it's not so much that it's not worth the effort, but more that it's not worth disrupting the clean and easily-digestible mixed-arithmetic model that we currently have. Unrelated question: under this proposal, what would you want `Fraction(10**400) / 1e200` to do? Should it also produce a `float` approximation to 1e200, or is it okay for it to raise `OverflowError` as it currently does? -- Mark