mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2026-05-01 03:19:28 +08:00
The assign_remainder (%=) case in Boxed_Number::go was missing the check_divide_by_zero guard, causing a hardware SIGFPE on integer modulo by zero. Also moved a misplaced check_divide_by_zero from assign_bitwise_and (&=) where it was erroneous. Additionally, the catch block in Equation_AST_Node::eval_internal was masking the arithmetic_error exception as a generic "unsupported operation" error; arithmetic_error is now re-thrown to provide the correct error message. Co-authored-by: leftibot <leftibot@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| chaiscript_algebraic.hpp | ||
| chaiscript_common.hpp | ||
| chaiscript_engine.hpp | ||
| chaiscript_eval.hpp | ||
| chaiscript_optimizer.hpp | ||
| chaiscript_parser.hpp | ||
| chaiscript_posix.hpp | ||
| chaiscript_prelude_docs.hpp | ||
| chaiscript_prelude.hpp | ||
| chaiscript_tracer.hpp | ||
| chaiscript_unknown.hpp | ||
| chaiscript_windows.hpp | ||