[vorbis-dev] Optimisations

Timothy Wayper timmy at wunderbear.com
Wed Nov 15 18:30:14 PST 2000



> (but damned fast!)  Does OggVorbis go off and do everything using single  
> precision floating point?  How does this affect the truncation of viable  
> bits after various multiplications (ie accuracy after a very big number is  
> multiplied by a very small number)?  I attended a DSP workshop last year by  

Actually, *adding* many small numbers to a large number is what endangers you most in floating point, while multiplication, in general, preserves your significant digits very well.

In fact, floating point multiplication accuracy is independent of the relative order of magnitude of the operands (except in limit cases). This is one of the advantages of floating point over fixed point (not to say fixed point is never appropriate).

Cheers,
Tim W.

____________________________________________________________
Timothy Wayper                        <timmy at wunderbear.com>
Wunderbear Software              <http://www.wunderbear.com>

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list