In the hoverboard thread I started to investigate the option to use a smaller math-library for the Cortex_M0 MCU, called qfplib.

I want to use a batch-file to locate all the replaceable math-functions in simpleFOC libraries.

So far I could identify some of them, but the basic qfp-routines are unmatched yet.

(see end of file)

See the attached document for more and feel free to add the missing pieces

```
/* Single precision versions of ANSI functions. */
extern float atanf (float);
extern float cosf (float); // float qfp_fcos(float x);
extern float sinf (float); // float qfp_fsin(float x);
extern float tanf (float); // float qfp_ftan(float x);
extern float tanhf (float);
extern float frexpf (float, int *);
extern float modff (float, float *);
extern float ceilf (float);
extern float fabsf (float);
extern float floorf (float);
#ifndef _REENT_ONLY
extern float acosf (float);
extern float asinf (float);
extern float atan2f (float, float); // float qfp_fatan2(float y,float x);
extern float coshf (float);
extern float sinhf (float);
extern float expf (float); // float qfp_fexp(float x);
extern float ldexpf (float, int);
extern float logf (float); // ??? float qfp_fln(float x);
extern float log10f (float);
extern float powf (float, float);
extern float sqrtf (float); // float qfp_fsqrt(float x); or float qfp_fsqrt_fast(float x);
extern float fmodf (float, float);
#endif /* ! defined (_REENT_ONLY) */
/* Other single precision functions. */
extern float exp2f (float);
extern float scalblnf (float, long int);
extern float tgammaf (float);
extern float nearbyintf (float);
extern long int lrintf (float);
extern long long int llrintf (float);
extern float roundf (float);
extern long int lroundf (float);
extern long long int llroundf (float);
extern float truncf (float);
extern float remquof (float, float, int *);
extern float fdimf (float, float);
extern float fmaxf (float, float);
extern float fminf (float, float);
extern float fmaf (float, float, float);
extern float infinityf (void);
extern float nanf (const char *);
extern float copysignf (float, float);
extern float logbf (float);
extern int ilogbf (float);
extern float asinhf (float);
extern float cbrtf (float);
extern float nextafterf (float, float);
extern float rintf (float);
extern float scalbnf (float, int);
extern float log1pf (float);
extern float expm1f (float);
#ifndef _REENT_ONLY
extern float acoshf (float);
extern float atanhf (float);
extern float remainderf (float, float);
extern float gammaf (float);
extern float lgammaf (float);
extern float erff (float);
extern float erfcf (float);
extern float log2f (float);
extern float hypotf (float, float);
#endif /* ! defined (_REENT_ONLY) */
// unmatched qfp-routines
float qfp_fadd(float x,float y);
float qfp_fsub(float x,float y);
float qfp_fmul(float x,float y);
float qfp_fdiv(float x,float y);
float qfp_fdiv_fast(float x,float y);
int qfp_float2int(float x);
int qfp_float2fix(float x,int y);
unsigned int qfp_float2uint(float x);
unsigned int qfp_float2ufix(float x,int y);
float qfp_int2float(int x);
float qfp_fix2float(int x,int y);
float qfp_uint2float(unsigned int x);
float qfp_ufix2float(unsigned int x,int y);
int qfp_fcmp(float x,float y);
```