faho · GitHub

This errored out *later* because the result was infinite or NaN, but
it didn't actually stop evaluation.
I'm not sure if there is a way to get floating point math to turn an
infinity back into something that doesn't depend on a literal
infinity, but division by zero conceptually isn't a thing we can
support.
There's entire branches of maths dedicated to figuring out what
dividing by "basically zero" means and we don't have to get into it.
Like we now do for syntax errors, this marks the extent of the error.
Currently for unknown functions only, would be cool for division too
This would actually return any finite argument before!

@faho

@faho

faho deleted the math-errors branch

September 11, 2022 07:56

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators

Jun 3, 2024

Read the original on github.com ↗