DivRemL 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.Math

Package: Microsoft.Quantum.QSharp.Foundation

Divides one BigInteger value by another, returns the result and the remainder as a tuple.

function DivRemL (dividend : BigInt, divisor : BigInt) : (BigInt, BigInt)

Input

dividend : BigInt

divisor : BigInt

Output : (BigInt,BigInt)