It seems the math library takes like 2KB+. I am just wondering if there is anyway to implement it in a more compact size.
TK, Your compiler will only include the functions that you used, from the library, into your code.Unless you managed to use every single math function in the library, It seems unlikely that it will add 2k to your code.
The best way to see this is to compile your code using the library and look at the size of the compiled code.
If size is still an issue you may try turning on compiler optimizations. This can make debugging the finished code more difficult. Mike ClementsRenesasRulz Moderator
In reply to TK: