LeftShiftedL function

Warning

This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.

Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.

Namespace: Microsoft.Quantum.Bitwise

Package: Microsoft.Quantum.Standard

Shifts the bitwise representation of a number left by a given number of bits.

function LeftShiftedL (value : BigInt, amount : Int) : BigInt

Input

value : BigInt

The number whose bitwise representation is to be shifted to the left (more significant).

amount : Int

The number of bits by which value is to be shifted to the left.

Output : BigInt

The value of value, shifted left by amount bits.

Remarks

The following are equivalent:

let c = a <<< b;
let c = LeftShiftedL(a, b);