Documentation

denormalmax

Largest denormalized quantized number for quantizer object

Syntax

x = denormalmax(q)

Description

x = denormalmax(q) is the largest positive denormalized quantized number where q is a quantizer object. Anything larger than x is a normalized number. Denormalized numbers apply only to floating-point format. When q represents fixed-point numbers, this function returns eps(q).

Examples

q = quantizer('float',[6 3]);
x = denormalmax(q)

x =

    0.1875

Algorithms

When q is a floating-point quantizer object,

denormalmax(q) = realmin(q) - denormalmin(q)

When q is a fixed-point quantizer object,

denormalmax(q) = eps(q)

Introduced before R2006a

Was this topic helpful?