Skip to content
Snippets Groups Projects
Commit 9e9b0922 authored by baewoojin's avatar baewoojin
Browse files

Update README.md

parent 43fa047b
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment