Ehh well, what the ALU does is an implementation detail and will vary from chip design to chip design. To follow IEEE 754 though, what it has to do, is evaluate0/0 to NaN. Whether you consider that "arithmetic" or not is a subjective distinction, but either way it's not that similar to an exception I don't think.
2
u/_tskj_ Jun 28 '21
Ehh well, what the ALU does is an implementation detail and will vary from chip design to chip design. To follow IEEE 754 though, what it has to do, is evaluate
0/0toNaN. Whether you consider that "arithmetic" or not is a subjective distinction, but either way it's not that similar to an exception I don't think.