mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Integer binary operators, from Marko Kreen <marko@l-t.ee>. Renamed bitxor
operator to '#' for consistency. Parser still needs work.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/oper.sgml,v 1.20 2000/10/04 15:47:45 petere Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/oper.sgml,v 1.21 2000/10/24 20:13:31 petere Exp $
|
||||
-->
|
||||
|
||||
<Chapter Id="operators">
|
||||
@ -493,6 +493,36 @@ logical union
|
||||
<ENTRY>Cube root</ENTRY>
|
||||
<ENTRY>||/ 27.0</ENTRY>
|
||||
</ROW>
|
||||
<ROW>
|
||||
<ENTRY> & </ENTRY>
|
||||
<ENTRY>Binary AND</ENTRY>
|
||||
<ENTRY>91 & 15</ENTRY>
|
||||
</ROW>
|
||||
<ROW>
|
||||
<ENTRY> | </ENTRY>
|
||||
<ENTRY>Binary OR</ENTRY>
|
||||
<ENTRY>32 | 3</ENTRY>
|
||||
</ROW>
|
||||
<ROW>
|
||||
<ENTRY> # </ENTRY>
|
||||
<ENTRY>Binary XOR</ENTRY>
|
||||
<ENTRY>15 # 4</ENTRY>
|
||||
</ROW>
|
||||
<ROW>
|
||||
<ENTRY> ~ </ENTRY>
|
||||
<ENTRY>Binary NOT</ENTRY>
|
||||
<ENTRY>~1</ENTRY>
|
||||
</ROW>
|
||||
<ROW>
|
||||
<ENTRY> << </ENTRY>
|
||||
<ENTRY>Binary shift left</ENTRY>
|
||||
<ENTRY>1 << 4</ENTRY>
|
||||
</ROW>
|
||||
<ROW>
|
||||
<ENTRY> >> </ENTRY>
|
||||
<ENTRY>Binary shift right</ENTRY>
|
||||
<ENTRY>8 >> 2</ENTRY>
|
||||
</ROW>
|
||||
</TBODY>
|
||||
</TGROUP>
|
||||
</TABLE>
|
||||
|
Reference in New Issue
Block a user