On 7/11/22 10:14 AM, root@ROCKY8-5-WL.localdomain wrote:

Bash Version: 4.4
Patch Level: 20
Release Status: release

Description:
        [Detailed description of the problem, suggestion, or complaint.]
in bash the result of $[23**15] is wrong
for example output
[root@ROCKY8-5-02 ~]#echo $[23**15]
8380818432457522983

Integer overflow. The result exceeds what can be represented in a signed
64-bit integer.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    c...@case.edu    http://tiswww.cwru.edu/~chet/

Reply via email to