Main Content

denormalmin

Smallest denormalized quantized number for quantizer object

Syntax

x = denormalmin(q)

Description

x = denormalmin(q) is the smallest positive denormalized quantized number where q is a quantizer object. Anything smaller than x underflows to zero with respect to the quantizer object q. Denormalized numbers apply only to floating-point format. When q represents a fixed-point number, denormalmin returns eps(q).

Examples

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

    0.0625

Algorithms

When q is a floating-point quantizer object,

x=2Eminf

where Emin is equal to exponentmin(q).

When q is a fixed-point quantizer object,

x=eps(q)=2f

where f is equal to fractionlength(q).

Version History

Introduced before R2006a