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
 
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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…