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