floating

The Art of Representing Floating Point Numbers as Integers

The Art of Representing Floating-Point Numbers as Integers

Have you been using float or double variables to perform mathematical operations on embedded systems without a Floating-Point Unit (FPU)? You are doing it wrong! That’s incredibly inefficient. Use fixed-point representation instead. An FPU is an hardware block specially designed to carry on arithmetic operations on floating point numbers. Even though the C/C++ code may work without an

The Art of Representing Floating-Point Numbers as Integers Continue Reading

Scroll to Top