summaryrefslogtreecommitdiff
path: root/n/avr/modules
diff options
context:
space:
mode:
Diffstat (limited to 'n/avr/modules')
-rw-r--r--n/avr/modules/math/fixed/fixed.h6
-rw-r--r--n/avr/modules/math/fixed/fixed.txt4
2 files changed, 6 insertions, 4 deletions
diff --git a/n/avr/modules/math/fixed/fixed.h b/n/avr/modules/math/fixed/fixed.h
index 4f9f77f..a3200c1 100644
--- a/n/avr/modules/math/fixed/fixed.h
+++ b/n/avr/modules/math/fixed/fixed.h
@@ -25,7 +25,7 @@
*
* }}} */
-/** Numbers notation:
+/* Numbers notation:
* [u]{i|f}x[.y]
* u: unsigned
* i: integer
@@ -39,7 +39,7 @@
#ifndef HOST
-/** Multiply f8.24 by f8.24, return f8.24. */
+/* Multiply f8.24 by f8.24, return f8.24. */
#define fixed_mul_f824(a, b) ({ \
uint16_t dummy; \
asm ("" : "=r" (dummy)); \
@@ -47,7 +47,7 @@
int32_t
fixed_mul_f824_asm (uint16_t dummy, int32_t a, int32_t b);
-/** Divide f8.24 by f8.24, return f8.24. */
+/* Divide f8.24 by f8.24, return f8.24. */
int32_t
fixed_div_f824 (int32_t a, int32_t b);
diff --git a/n/avr/modules/math/fixed/fixed.txt b/n/avr/modules/math/fixed/fixed.txt
index 4c0ddc3..645d9cc 100644
--- a/n/avr/modules/math/fixed/fixed.txt
+++ b/n/avr/modules/math/fixed/fixed.txt
@@ -18,7 +18,9 @@ Je vous laisse consulter internet pour plus d'informations.
Pour décoder le nom des fonctions :
+^<<
[u]{i|f}x[.y]
+^>>
[u] non signé ;
[i] entier ;
@@ -47,4 +49,4 @@ La version hôte vérifie les calculs avec la bibliothèque mathématique du C.
* Doc
-*File: uart.exd
+*File: fixed.exd