1
vote
2answers
54 views

ARM Power/Exponential Function

I'm trying to code an exponential function for use on a PWM signal. My question is, does anyone know how to do a power function on an ARM cortex-M (STM32F4 in this case, which has an FPU) ...
9
votes
5answers
509 views

Advanced Math in day to day Electronics? [closed]

So i've been watching the MIT 6.002x Classes and they are really interesting, I feel like i've got a good grasp of Circuits and the Basics (I graduated with a CS degree...but EE appeals to me too). ...
1
vote
4answers
342 views

How to fix rounding errors on microcontroller?

Here are the specs for the chip/chip family that our vendor is using. For our product we are asking them to perform a calculation by multiplying a number by a factor that has a decimal point...for ...
7
votes
8answers
5k views

Fastest way to get integer mod 10 and integer divide 10?

If a hardware doesn't support modulus or division operations, it takes many more CPU cycles to simulate modulus/division by software. Is there any faster way to calculate division and modulus if the ...