Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Signed Binary Multiplication (fixed point)?

Status
Not open for further replies.

fouadalnoor

Member
Hello guys,

I am trying to do signed fixed point binary multiplication of two numbers:

-1 and 0.607252935.

My two numbers are both represented in the form Q2.14. I know that when you multiply these two numbers, the product will be of the form Q4.28, but I keep getting the wrong answer when the multiplier is negative...

Can you please show me how you would do -1*0.607252935 as described above?

Hope you can help!

Thanks!
 
For example you can strip the signs, multiply the numbers unsigned and then add the correct sign back.
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top