Update of /cvsroot/firebird/manual/src/docs/refdocs/langref/fblangref25
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv7265
Modified Files:
fblangref25-commons.xml fblangref25.xml
Log Message:
Added a correction to arithmetic operator predence.
Index:
Hi Helen,
it will take some time, but I'm able to implement the diffs.
Martin
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to
Hi all (especially Helen),
I got suspicious when I saw the precedence of arithmetic operators listed like
this:
1: *
2: /
3: +
4: -
So I tested it:
SQL> select 1 - 3 + 3 from rdb$database;
ADD
=
1
-- so + doesn't have higher
Aage Johansen wrote:
> First, thanks to Paul for checking my suggestions.
> Actually, I may have misremembered: I thought there might be pitfalls
> regarding the sign of the result.
There are. Or rather, there is one: 0x8000 - 0x map to negative
INTEGER values, whereas 0x08000 -