[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Arithmetic pow results incorrect in arithmetic expansion.
From: |
Oğuz |
Subject: |
Re: Arithmetic pow results incorrect in arithmetic expansion. |
Date: |
Sat, 9 Jan 2021 16:40:36 +0200 |
9 Ocak 2021 Cumartesi tarihinde Ilkka Virta <itvirta@gmail.com> yazdı:
>
> Note that binary minus doesn't really compare here. It has a lower
> precedence, so gives a different result:
>
Yes, you are right, and not only that, but the example I gave doesn't even
work on 5.1.
$ (( 16#-10 ))
bash: ((: 16#: invalid integer constant (error token is "16#")
--
Oğuz