Skip to Content
Synthesis of Arithmetic Circuits: FPGA, ASIC and Embedded Systems
book

Synthesis of Arithmetic Circuits: FPGA, ASIC and Embedded Systems

by Jean-Pierre Deschamps, Gery J.A. Bioul, Gustavo D. Sutter
March 2006
Intermediate to advanced
576 pages
11h 43m
English
Wiley-Interscience
Content preview from Synthesis of Arithmetic Circuits: FPGA, ASIC and Embedded Systems

3.3 REAL NUMBERS

As regards the real numbers, there are two types of approximations: fixed-point and floating-point numeration systems. The fixed-point system is a simple extension of the integer representation system; it allows the representation of a relatively reduced range of numbers with some constant absolute precision. The floating point system allows the representation of a very large range of numbers, with some constant relative precision.

Definitions 3.9

  1. In a fixed-point numeration system, the number represented in the form

    image

    is x/Bp, where x is the integer represented by the same sequence of digits without point.

  2. Let xmin and xmax be the minimum and maximum integers that can be represented with n digits, that is, xmin = 1 − Bn−1 and xmax = Bn−1 − 1 in sign-magnitude representation, and xmin = − Bn/2 and xmax = Bn/2 − 1 in B's complement or excess-Bn/2 representation. Then, any real number x belonging to the interval

    image

    can be represented in the form (3.21) with some error equal to the absolute value of the difference between x and its representation.

  3. The distance d between exactly represented numbers is equal to the unit in the least significant position (ulp), that is, B−p, so that the maximum error is equal to
  4. The maximum relative error is equal to then so that the maximum ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

ASIC and FPGA Verification

ASIC and FPGA Verification

Richard Munden

Publisher Resources

ISBN: 9780471687832Purchase book