The math for doing above is somewhat involved and an additional challenge is only having floats (less precision) to work with.
Does anyone make a floating point co-processor for microcontrollers?
Floating Point Co-Processor uM-FPU v3.1 (~$20.00)
Could you get away with using long variables and fixed point math to gain more precision (and possibly speed in calculations
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16