Skip to content
Snippets Groups Projects
Commit 1060182b authored by baewoojin's avatar baewoojin
Browse files

Update README.md

parent 6e168eb9
No related branches found
No related tags found
No related merge requests found
......@@ -183,17 +183,17 @@
- a. mul
- fx32_mul
~~~
(fixed32)((fa * fb) >> FX32_QNUM )
((fa * fb) >> FX32_QNUM )
~~~
1. fuction that multiplies fa and fb and divides it by 2^32
- fx32_mul1
~~~
((fixed32)(((fa>>16) * fb)>>16))
((fa>>16) * fb)>>16)
~~~
1. 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))
(((fa>>8)*(fb>>8))>>16)
~~~
1. Same as above, the same fuction as fa*fb>>32, first multiply fa/2^8, fb/2^8, and divide the remaining 2^16
- b. div
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment