From 3a01bb1bc63e50d3d5dec0e985bb19f33d52a638 Mon Sep 17 00:00:00 2001 From: baewoojin <dnwls514@ajou.ac.kr> Date: Tue, 18 Aug 2020 17:43:00 +0900 Subject: [PATCH] Update README.md --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a012cb4..4eeb00a 100644 --- a/README.md +++ b/README.md @@ -195,4 +195,20 @@ ~~~ ((fixed32)(((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 \ No newline at end of file + 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 +- a. div + - fx32_div + ~~~ + (fixed32)( (((fixed64)(fa) << FX32_QNUM) /(fb))) + ~~~ + 1. fuction that multiplies fa by 2^32 and divides fb. + - fx32_div1 + ~~~ + ((((fa)<<16)/(fb))<<16) + ~~~ + 1. Same as above, it has the same fuction as (fa<<32)/fb. First, fa is multiplied by 2^16 and divided by fb, and then the remaining 2^16 is multiplied + - fx32_div2 + ~~~ + ((((fa)<<24)/(fb))<<8) + ~~~ + 1. same as above, it has the same fuction as (fa<<32)/fb. First, fa is multiplied by 2^24, divided by fb, and then the remaining 2^8 is multiplied. \ No newline at end of file -- GitLab