exponentbias

Exponent bias for quantizer object

Syntax

b = exponentbias(q)

Description

b = exponentbias(q) returns the exponent bias of the quantizer object q. For fixed-point quantizer objects, exponentbias(q) returns 0.

Examples

q = quantizer('double');
b = exponentbias(q)

b =

        1023

More About

expand all

Algorithms

For floating-point quantizer objects,

b=2e11

where e = eps(q), and exponentbias is the same as the exponent maximum.

For fixed-point quantizer objects, b = 0 by definition.

Was this topic helpful?