[Top][All Lists]

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

Exponentiation operator

From: sanchis
Subject: Exponentiation operator
Date: Thu, 03 Mar 2005 09:24:31 +0100

Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-pc-linux-gnu' 
-DCONF_VENDOR='pc' -DSHELL -DHAVE_CONFIG_H  -I.  -I../bash -I../bash/include 
-I../bash/lib  -g -O2
uname output: Linux jade 2.6.8-2-686-smp #1 SMP Mon Jan 24 02:32:52 EST 2005 
i686 GNU/Linux
Machine Type: i386-pc-linux-gnu

Bash Version: 2.05b
Patch Level: 0
Release Status: release

        A syntax error with the expression : a**b**c
        What is the associativity of the exponentiation operator ?


$ echo $((2**3**2))
bash: 2**3**2: syntax error in expression (error token is "**2")

reply via email to

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