Le 23/04/13 18:39, Michael Marcin a écrit :
On 4/23/2013 8:14 AM, Dmitriy Gorbel wrote:
Some functions(like modf, floor, fabs) really aren't difficult to implement. But some functions aren't easy to implement. I need some time to explore the algorithms and make the design. I know that MacLaurin series can be used in trig functions. I don't familiar with CORDIC algorithms yet, I just need some time.
List of functions: ceil, floor, sqrt, sin, cos, exp, fabs, fmod, modf, exp. I think all of this functions must be implemented. I open to discuss this list, we can add more functions and then rate them by priority.
FWIW
Michael, I was not aware that you have already a fixed-point library in http://code.google.com/p/libfixmath/. Could you give us pointer where this file cross/math/fixed/fixed.hpp is located? Best, Vicente