Why is my floating point math so inaccurate? If you lurk on embedded C forums for much time at all you will run into a question like this: “Why is my floating point math so inaccurate? I do a few ...
Digital signal processors (DSPs) represent one of the fastest growing segments of the embedded world. Yet despite their ubiquity, DSPs present difficult challenges for programmers. In particular, ...
If you are used to writing software for modern machines, you probably don’t think much about computing something like one divided by three. Modern computers handle floating point quite well. However, ...
Many numerical applications typically use floating-point types to compute values. However, in some platforms, a floating-point unit may not be available. Other platforms may have a floating-point unit ...
This is source code for test files shown in Joe Lemieux's article “Fixed-Point Math in C” (Embedded Systems Programming, April 2001) in which he demonstrates how floating-point values can be ...
Recently Colin Walls had an article on this site about floating point math. Once it was common for embedded engineers to scoff at floats; many have told me they have no place in this space. That’s ...