Adjusting a number after performing the multiplication between two normalized numbers

OP #7485768
Rate this post
useful
not useful

Good morning, I have just implemented a multiplication between two numbers, and before that, I normalized them by multiplying each of them by a power of 2. However, the result of the multiplication needs to be adjusted by dividing it by a power of 2. I've attempted to implement a division, but it appears that the result will be a floating-point number, and I'll need to round it up to the nearest integer. Can anyone assist me with this?

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now