LargestFixedPoint 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.Numerics

Returns the largest representable number for specific fixed point dimensions.

function LargestFixedPoint (integerBits : Int, fractionalBits : Int) : Double

Input

integerBits : Int

Number of integer bits (including the sign bit).

fractionalBits : Int

Number of fractional bits.

Output : Double