parallella / pal

An optimized C library for math, parallel processing and data movement
Apache License 2.0
301 stars 110 forks source link

math:exp: Implement the natural exponential function #184

Closed mansourmoufid closed 9 years ago

mansourmoufid commented 9 years ago

This implements the natural exponential function using a polynomial approximation with an error less than 3e-5.

mansourmoufid commented 9 years ago

This is about 10% faster than the GNU libm on x86.