• 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.

real number multiplication

Status
Not open for further replies.

finst

New Member
can anyone help me

i need real number multiplication algorithm using pic microcontroller

i want to multiply 2.33*3.4

can anyone give me the algorithm and source code
 

Nigel Goodwin

Super Moderator
Most Helpful Member
finst said:
can anyone help me

i need real number multiplication algorithm using pic microcontroller

i want to multiply 2.33*3.4

can anyone give me the algorithm and source code
If you look on the PICLIST at http://www.piclist.com there's floating point code, or MicroChip have an application note about it.

Presumably that isn't the only calculation you need to make?, if it was, simply do it on a calculator (or a piece of paper) and store the result. You could also scale the calculation, make it 233*34, which you could do with a simple 16*16 multiplication - then divide it by 1000 (by shifting the decimal point).
 
Status
Not open for further replies.

Latest threads

EE World Online Articles

Loading
Top