math.exp returns inf instead of raising OverflowError
math.exp returns inf instead of raising OverflowError: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I'm porting some code from CPython to RustPython and noticed that math.exp doesn't behave the same way for large arguments.
The task
I'm porting some code from CPython to RustPython and noticed that `math.exp` doesn't behave the same way for large arguments.
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.