Re: Fixed-point operations

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

 



Maurizio Vitale wrote:
The OP asked for fixed-point arithmetic, not floating point.

The only two libraries I can recommend are the one included in SystemC (very complete in terms of overflow/quantization control, but slow) and one offered as open source by Mentor Graphics at http://www.mentor.com/products/esl/high_level_synthesis/ac_datatypes.cfm. This second one is a very useful subset of the SystemC library and is _very_ fast.

The OP said "wrt to floating point counterparts."

To which I said on big cpus [e.g. desktop cores] FPUs are very fast.

So if the OP is running stuff on say a Core 2 Duo then yeah, the FPU will be faster. If the OP is on an ARM without an FPU then fixed point should be the winner (especially given the free shifting/rotation...)

Tom

[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