Re: Fixed-point operations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



     I use an Athlon 64 double core processor under openSuSE 10.2 (gcc
4.2.2). The trouble is that implementing fixed point operations in C++
seems to be very slow with respect to floating-point operations. I
have hoped to find something faster.
    Ideally I would like to have a data type in C++ with all common
operations in order to do some research with chaotic maps.
Bogdan

On 12/31/07, Tom St Denis <tstdenis@xxxxxxxxxxxxxxxx> wrote:
> Cristea Bogdan wrote:
> > Is there a library implementing fast fixed-point operations (addition,
> > multiplication, comparisons)? I have used till now a C++ class, but
> > the fixed-point operations are very slow wrt to their floating-point
> > counterparts.
> >
> >
> Slow on what?  Most big cpus nowadays have very fast FPUs.  On something
> like an ARM without an FPU fixed point should be quite a bit faster....
>
>
>


-- 
Bogdan Cristea

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux