Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fully qualified name: Std.Math.LargestFixedPoint
function LargestFixedPoint(integerBits : Int, fractionalBits : Int) : Double
Summary
Returns the largest representable number for specific fixed point dimensions.
Input
integerBits
Number of integer bits (including the sign bit).
fractionalBits
Number of fractional bits.
Remark
The value can be computed as 2^(p-1) - 2^(-q), where p is the number of integer bits and q is the number of fractional bits.