math.exp returns inf instead of raising OverflowError
math.exp returns inf instead of raising OverflowError: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). math.exp returns inf instead of raising OverflowError I'm porting some code from CPython to RustPython and noticed that math.exp doesn't behave the same way for large…
The task
math.exp returns inf instead of raising OverflowError I'm porting some code from CPython to RustPython and noticed that math.exp doesn't behave the same way for large arguments. In CPython: In RustPython: This breaks code that wraps math.exp in try/except OverflowError — the…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.