Forum: ARM programming with GCC/GNU tools Error function erf(x) implementation in C.

von Tony M. (Company: El Padrino Inc.) (polux)

Rate this post
not useful
Hi, does anyone knows where I can find a good and simple implementation 
of erf(x) for C or C++?, because I need to convert it to Verilog A....

von Nikolaos K. (Company: http://www.nkavvadias.com) (nikolaos_k)

Rate this post
not useful

you should consider implementing an approximation of the function via 
polynomial evaluation. This involves the computation of 
fixed-/floating-point coefficients for the polynomial either the Taylor 
or the Remez (minimax) way.

One good source for approximations of transcendental functions is 


Best regards
Nikolaos Kavvadias
Research Scientist, Hardware developer, B.Sc, M.Sc, Ph.D.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.