- Timestamp:
- 03/27/12 11:55:36 (12 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/pmsm/simulator_zdenek/ekf_example/test_exp.c
r1440 r1442 1 #include "fast _exp.h"1 #include "fastexp.h" 2 2 #include <stdio.h> 3 3 int main(){ 4 4 double d; 5 5 for (d=-1; d<1; d+=0.01) 6 printf("exp: %f, fast_exp: %f\n", exp(d), EXP(d) );6 printf("exp: %f, fast_exp: %f\n", exp(d), fasterexp(d) ); 7 7 return 0; 8 8 }