<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/xdmp.rshift64.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>xdmp.rshift64</api:function-name><api:suggest>xdmp.rshift64</api:suggest><api:suggest>xdmp</api:suggest><api:suggest>rshift64</api:suggest><api:function-link mode="xquery" fullname="xdmp:rshift64">/apidoc/8.0/xdmp:rshift64.xml</api:function-link><api:function mode="javascript" name="rshift64" type="builtin" lib="xdmp" category="Extension" subcategory="Extension" hidden="false" bucket="MarkLogic Built-In Functions" prefix="xdmp" namespace="http://marklogic.com/xdmp" fullname="xdmp.rshift64"><api:summary>
  Right-shift a 64-bit integer value.
</api:summary><api:params><api:param name="x" type="xs:unsignedLong"><api:param-description>
    The value to shift.
  </api:param-description><api:param-name>x</api:param-name><api:param-type>String</api:param-type></api:param><api:param name="y" type="xs:integer"><api:param-description>
    The right shift to perform. This value may be negative.
  </api:param-description><api:param-name>y</api:param-name><api:param-type>Number</api:param-type></api:param></api:params><api:return>String</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
xdmp.rshift64(255, 2);
=&gt; 63
</pre></api:example></api:function></api:function-page>