Re: Why is division by zero permitted? (It's actually very useful! Here's why)

2013-10-25 Thread Paul Gilmartin
On 2013-10-24 09:35, David Cole wrote: The reason that this useful is that this quirk can be exploited to create, for example, a MAX or MIN function that is evaluated at assembly time. (Maybe this has changed, but the last time I looked, the Assembler did not offer native MAX and MIN

Re: Why is division by zero permitted? (It's actually very useful! Here's why)

2013-10-24 Thread David Cole
At 10/23/2013 08:30 PM, Paul Gilmartin wrote: OK. Pure HLASM. I've long wondered why division by zero is permitted in arithmetic expressions when otherwise overflows (even in division) are reported as errors. The only rationale I can think of (and a poor one) is that it was initially an