Accelerating the pace of engineering and science

# 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
```

expand all

### Algorithms

When q is a floating-point quantizer object,

$x={2}^{{E}_{min}-f}$

where Emin is equal to exponentmin(q).

When q is a fixed-point quantizer object,

$x=\mathrm{eps}\left(q\right)={2}^{-f}$

where f is equal to fractionlength(q).