Bill Allombert on Sat, 29 Oct 2022 14:44:01 +0200

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

Re: arithmetic operations with t_INFINITY

Le Sat, Oct 29, 2022 at 07:40:11AM -0400, Max Alekseyev a écrit :
> Bill, I do not quite follow. The issue you describe will not appear if
> comparison of oo with oo is forbidden (which should be the case).

Precisely we need to allow

? oo == oo
%1 = 1

First we wanted < and <= to work with oo and secondly 
having an object so that x != x would break too much things.