Update of /cvsroot/firebird/manual/src/docs/refdocs/langref/fblangref25
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23534
Modified Files:
fblangref25-commons.xml fblangref25-functions-vars.xml
fblangref25.xml
Log Message:
Corrections from P. Vinkenoog and D. Simonov.
Index: fblangref25-functions-vars.xml
===
RCS file:
/cvsroot/firebird/manual/src/docs/refdocs/langref/fblangref25/fblangref25-functions-vars.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- fblangref25-functions-vars.xml 27 Mar 2016 21:20:48 - 1.5
+++ fblangref25-functions-vars.xml 13 May 2016 10:14:26 - 1.6
@@ -5085,7 +5085,7 @@
Syntax
- BIN_AND
(number [, number
...])
+ BIN_AND
(number, number [,
number ...])
@@ -5103,15 +5103,19 @@
number
- A 32-bit or 64-bit integer
+ Any integer number (literal,
smallint/integer/bigint, numeric/decimal with scale 0)
Result type
- INTEGER or
BIGINT
+ SMALLINT,
INTEGER or BIGINT
+
+ SMALLINT result is returned only if all the arguments
are explicit SMALLINTs or NUMERIC(n, 0)
+with n <= 4; otherwise small integers return an INTEGER
result.
+
Description
Returns the result of the bitwise AND operation on
the argument(s).
@@ -5133,8 +5137,7 @@
Possible name conflict
- YES—>Read details
-
+ NO
@@ -5159,19 +5162,23 @@
number
- A 32-bit or 64-bit integer
+ Any integer number (literal,
smallint/integer/bigint, numeric/decimal with scale 0)
Result type
- INTEGER or
BIGINT
+ SMALLINT,
INTEGER or BIGINT
+
+ SMALLINT result is returned only if all the arguments
are explicit SMALLINTs or NUMERIC(n, 0)
+with n <= 4; otherwise small integers return an INTEGER
result.
+
Description
- Returns the result of the bitwise NOT operation on
the argument, i.e., negation,
-or ones complement.
+ Returns the result of the bitwise NOT operation on
the argument, i.e.,
+ones complement.
See also
@@ -5196,7 +5203,7 @@
Syntax
- BIN_OR
(number [, number
...])
+ BIN_OR
(number, number [,
number ...])
@@ -5214,15 +5221,19 @@
number
- A number of an integer type
+ Any integer number (literal,
smallint/integer/bigint, numeric/decimal with scale 0)
Result type
- INTEGER or
BIGINT
+ SMALLINT,
INTEGER or BIGINT
+
+ SMALLINT result is returned only if all the arguments
are explicit SMALLINTs or NUMERIC(n, 0)
+with n <= 4; otherwise small integers return an INTEGER
result.
+
Description
Returns the result of the bitwise OR operation on the
argument(s).
@@ -5365,7 +5376,7 @@
Syntax
- BIN_XOR
(number [, number
...])
+ BIN_XOR
(number, number [,
number ...])
@@ -5383,7 +5394,7 @@
number
- A number of an integer type
+ Any integer number (literal,
smallint/integer/bigint, numeric/decimal with scale 0)
@@ -5394,8 +5405,12 @@
Result type
- INTEGER or
BIGINT
+ SMALLINT,
INTEGER or BIGINT
+
+ SMALLINT result is returned only if all the arguments
are explicit SMALLINTs or NUMERIC(n, 0)
+