Open pakls opened 7 years ago
At the moment, DIV and MOD considers divide-by-zero (I'll call it as DBZ from now on) as unimplemented.
We are in need of an exception handling mechanism when DBZ happens.
I can think of a few ways now:
The considerations that I can think of by now. They are tradeoffs during most of the time.
A. Speed B. VM Complexity C. Support of higher level semantics, such as C++ Exception
At the moment, DIV and MOD considers divide-by-zero (I'll call it as DBZ from now on) as unimplemented.
We are in need of an exception handling mechanism when DBZ happens.
I can think of a few ways now:
The considerations that I can think of by now. They are tradeoffs during most of the time.
A. Speed B. VM Complexity C. Support of higher level semantics, such as C++ Exception