Products & Services Solutions Academia Support User Community Company

Learn more about Fixed-Point Toolbox   

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

Algorithm

For floating-point quantizer objects,

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

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

See Also

eps, exponentlength, exponentmax, exponentmin

  


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-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS