Products & Services Solutions Academia Support User Community Company

Learn more about Fixed-Point Toolbox   

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

Algorithm

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)

See Also

denormalmin, eps, quantizer

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS