Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion?

Reply
 
Tools
Old 15th November 2003, 05:21 PM   #1
Default I2C maths FPU

Anyone heard of anything I can use to do double-presicion maths on?

I have a PIC18F252 and need more maths power, Ideally a I2C FPU would be great.

Thanks
Scarr is offline  
Old 15th November 2003, 05:21 PM   #2
Default Sorry about double post, IE locked up!

Sorry
Scarr is offline  
Old 18th November 2003, 12:24 AM   #3
Default

Pic's are microcontrollers, they ... control stuff and are not designed to do much math. If you want to do some serious number crunching you should be looking for a CPU system instead of a µC system
Exo is offline  
Old 18th November 2003, 01:13 AM   #4
Default

There are floating point libraries available for many micros (dont know about PICs, I prefer AVRs) -- It takes many cycles. You should always evaluate your problem to make sure that floating point is really needed. for instance, converting period to frequency on the surface requires 1/t. However, if you consider that the unit of t is usually ticks, you can work out an integer approximation.
crust is offline  
Reply

Thread Tools
Display Modes




All times are GMT. The time now is 09:55 PM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker