From 9e9b0922bdec424e846cf5472c68d8aaa53600e4 Mon Sep 17 00:00:00 2001 From: baewoojin <dnwls514@ajou.ac.kr> Date: Tue, 18 Aug 2020 17:38:12 +0900 Subject: [PATCH] Update README.md --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index f0a71a6..7b7c56c 100644 --- a/README.md +++ b/README.md @@ -174,3 +174,25 @@ ~~~ # project - STEP 2 +### 1. list of functions +- a. MUL ( x ) +- b. DIV ( / ) +- c. SINE + +### 2. explanation of fuctions +- a. mul + - fx32_mul + ~~~ + (fixed32)((fa * fb) >> FX32_QNUM ) + ~~~ + - fuction that multiplies fa and fb and divides it by 2^32 + - fx32_mul1 + ~~~ + ((fixed32)(((fa>>16) * fb)>>16)) + ~~~ + - Same as fx32_mul, the same fuction as fa*fb>>32, first multiply fa/2^16 and fb, and divide the remaining 2^16 + - fx32_mul2 + ~~~ + ((fixed32)(((fa>>8)*(fb>>8))>>16)) + ~~~ + - Same as above, the same fuction as fa*fb>>32, first multiply fa/2^8, fb/2^8, and divide the remaining 2^16 \ No newline at end of file -- GitLab