On Thu, 26 May 2005 11:18:52 +0200
"Gerhard Scholz" <[EMAIL PROTECTED]> wrote:

> This follows the "natural" precedence of mathematical formulas. But with the
> power operator the "natural" precedence is from right to left:
>         a ** b ** c ** d
>     normally means:
>         a ** ( b ** ( c ** d ) )
> The FP compiler evaluates a ** b ** c ** d as:
>         ( ( a ** b ) ** c ) ** d

Define "natural" please ? If I write 2**3**5, I probably mean 2^3^5 = (2^3)^5, 
not 2^(3^5). In this case, FP is "right".

Micha

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to