Loading TOC...

xdmp:rshift64

xdmp:rshift64(
   $x as xs:unsignedLong,
   $y as xs:integer
) as xs:unsignedLong

Summary

Right-shift a 64-bit integer value.

Parameters
$x The value to shift.
$y The right shift to perform. This value may be negative.

Example

xdmp:rshift64(255, 2)
=> 63

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.