diff options
Diffstat (limited to 'source/cordic.hpp')
-rw-r--r-- | source/cordic.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/cordic.hpp b/source/cordic.hpp index 5c52fe4..5d640cc 100644 --- a/source/cordic.hpp +++ b/source/cordic.hpp @@ -6,11 +6,19 @@ namespace cordic { void init(); +#if !defined(TARGET_PLATFORM_L4) double mod(double n, double d); double cos(double x); double sin(double x); double tan(double x); +#else + float mod(float n, float d); + + float cos(float x); + float sin(float x); + float tan(float x); +#endif } #endif // CORDIC_HPP_ |