The Art of Representing Floating-Point Numbers as Integers

Why the AVR will not do floating point for you The ATmega32 is an 8-bit core with 32 general-purpose registers, 32 KB of flash and 2 KB of SRAM. Its instruction set contains 131 instructions and none of them is a floating-point operation. The only arithmetic help is the multiplier: MUL, MULS, MULSU and the […]

The Art of Representing Floating-Point Numbers as Integers Read More »