hmm

45 years of APL - and did not run across such case :-))


Am 18.04.20 um 06:36 schrieb Kacper Gutowski:
This is actually correct.  It's what APL is supposed to do.
Domain of division is extended to include 0÷0, but not any
other numbers divided by zero.

-k


On Fri, Apr 17, 2020 at 10:26:09PM +0200, Hans-Peter Sorge wrote:
Hi,

I just noted some inconsistencies:

       0÷0
1

       0.1÷0
DOMAIN ERROR
       0.1÷0
       ^  ^

       0.1÷0 1
DOMAIN ERROR
       0.1÷0 1
       ^  ^

       0÷0 1
1 0

       1 0 ÷ 0
DOMAIN ERROR
       1 0÷0
       ^  ^

       0 0 ÷ 0
1 1

       0 ÷ 0 0
1 1

       1 ÷ 0 0
DOMAIN ERROR
       1÷0 0
       ^^
Regards
Hans-Peter

Reply via email to