MarkLogic Server 11.0 Product Documentation
xdmp.lshift64

xdmp.lshift64(
   x as (Number|String),
   y as Number
) as (Number|String)

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
Powered by MarkLogic Server | Terms of Use | Privacy Policy