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()
2 posts
• Page 1 of 1
exp()
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:
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
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 53 guests