summaryrefslogtreecommitdiff
path: root/n/avr/modules/math/fixed/fixed.h
diff options
context:
space:
mode:
authorschodet2005-08-17 20:54:00 +0000
committerschodet2005-08-17 20:54:00 +0000
commita9573e8c2aee1aeff25c1a49a030a99e939acaff (patch)
tree2b151cb49581853e5b03869e7af27c24044e40c6 /n/avr/modules/math/fixed/fixed.h
parent875991a3399c5326036cfe2d3023b567ce4666a9 (diff)
Ajout du calcul du cos et sin.
Diffstat (limited to 'n/avr/modules/math/fixed/fixed.h')
-rw-r--r--n/avr/modules/math/fixed/fixed.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/n/avr/modules/math/fixed/fixed.h b/n/avr/modules/math/fixed/fixed.h
index 95b1766..ce3138f 100644
--- a/n/avr/modules/math/fixed/fixed.h
+++ b/n/avr/modules/math/fixed/fixed.h
@@ -49,4 +49,12 @@ fixed_div_f824 (int32_t a, int32_t b);
#endif
+/** Compute cosinus, angle f8.24, result f8.24. */
+int32_t
+fixed_cos_f824 (int32_t a);
+
+/** Compute sinus, angle f8.24, result f8.24. */
+int32_t
+fixed_sin_f824 (int32_t a);
+
#endif /* fixed_h */