root/applications/pmsm/simulator_zdenek/ekf_example/test_exp.c
@
1442
Revision 1442, 161 bytes (checked in by smidl, 12 years ago) |
---|
Rev | Line | |
---|---|---|
[1442] | 1 | #include "fastexp.h" |
[1440] | 2 | #include <stdio.h> |
3 | int main(){ | |
4 | double d; | |
5 | for (d=-1; d<1; d+=0.01) | |
[1442] | 6 | printf("exp: %f, fast_exp: %f\n", exp(d), fasterexp(d) ); |
[1440] | 7 | return 0; |
8 | } |
Note: See TracBrowser
for help on using the browser.