|
Boost : |
Subject: Re: [boost] Fixed point integer proposal
From: Soren Holstebroe (holstebroe_at_[hidden])
Date: 2009-06-25 15:03:37
>> The number one design criteria was speed. Why would you use fixed
>> point instead of floats if not for speed?
>
> For reproducibility.
Yes, exactly. Fixed points doesn't accumulate errors as opposed to
floats. This is very useful in any algorithm where values are
accumulated.
> I have several times wanted to not use floating
> point because its behaviour may change depending on architecture /
> compiler / compiler options.
Non-IEEE compliant floats. That sounds nasty.
Soren
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk