Jan. 15, 2020
4:38 p.m.
On 15 Jan 2020, at 14:30, Sven Van Caekenberghe <sven@stfx.eu> wrote:
Hi,
I came across the following quirk that surprised me.
Positive number in a arbitrary radix
16rA = 10
Same number but negative
-16rA = -10
I guess, we all know that.
However, the following is also possible
16r-A = -10
I would not support this one either
I did not know that, but OK.
But what about this one ?
-16r-A = 10
I understand that the double negation is positive again, but do we really want to support such a syntax ?
I would not
Sven