Loading TOC...

MarkLogic 10 Product Documentation
xdmp:lshift64

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

Summary

Left-shift a 64-bit integer value.

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

Example

xdmp:lshift64(255, 2)
=> 1020

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