Re: FIR Filter Model



Or, simply treat everything as fixed point and bring back the concept
of a fraction after the final output is generated.

Example:

Floating point (real):
1.2 * 3.4 = 4.08

Fixed point:
12*34 = 408 => 4.08, putting the decimal after final calculation.

- Swapnajit
_____________________________________________________________________
SystemVerilog, DPI, Verilog PLI and all other good stuffs.
Project VeriPage: http://www.project-veripage.com
For subscribing to the mailing list:
<URL: http://www.project-veripage.com/list/?p=subscribe&id=1>

.



Relevant Pages

  • Re: Floating point questions
    ... Packed decimal is definitely of IBM origin, but was fully supported on VAXn ... IIRC to convert from integer to floating, ... IBM floating point has a binary fraction and a base 16 exponent. ... typically include language support for decimal-scaled packed decimal ...
    (comp.os.vms)
  • Re: BASH question
    ... |> Fractional parts is not the same as floating point. ... fraction point if a base other than 10). ... a fixed point value will always have the same precision but a limit ... digits of storage for the number we could represent all values from 0.00 to ...
    (Fedora)
  • Re: Avoiding floating points
    ... "Add Fixed and Floating Decimal Point Numbers to Delphi" ... fraction numbers. ... And if you do allow for rounding the result into a ... then you need to specify or know what ...
    (borland.public.delphi.non-technical)
  • Re: typecast internals
    ... Here a floating point number ... The "f"s here represent fraction bits. ... At the CPU instruction level, ... In this case, with the working fraction initially 0.375, we have: ...
    (comp.lang.c)
  • Re: Fast extraction of fraction part from float.
    ... >>> I need to extract the fraction part from floats for a script I ... >> If the scripting language does not include floating point ops, ...
    (alt.lang.asm)