bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Division by 0


From: Kacper Gutowski
Subject: Re: Division by 0
Date: Sat, 18 Apr 2020 06:36:28 +0200

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

[Prev in Thread] Current Thread [Next in Thread]