Floating-point arithmetic can be expensive if you're using an integer-only processor. But floating-point values can be manipulated as integers, asa less expensive alternative. One advantage of using a ...
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 ...