Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

exp()

DSP related issues, mathematics, processing and techniques

exp()

Postby juha_tp » Sat Nov 10, 2018 12:26 am

By documentation there are quite few functions offered (excl. what Ruby offers).

Would there be any point to write some approximations using DSP Code component or Assembler? Would it be much slower compared to build-in function(s)?

I was thinking some of these I've used in C++ coding (as SSE versions) :
http://www.chokkan.org/software/dist/fastexp.c.html
https://root.cern.ch/doc/v606/exp_8h_source.html
or just some simple exp approx like:
Code: Select all
return (40 * x * (x * x + 42))/(x * (x * ((x - 20) * x + 180) - 840) + 1680) + 1;
juha_tp
 
Posts: 60
Joined: Fri Nov 09, 2018 10:37 pm

Re: exp()

Postby martinvicanek » Sat Nov 10, 2018 3:02 am

User avatar
martinvicanek
 
Posts: 1328
Joined: Sat Jun 22, 2013 8:28 pm


Return to DSP

Who is online

Users browsing this forum: No registered users and 15 guests