Analysis of floating point calculations on microcontrollers
Abstract
Analysis of floating point calculations on microcontrollers
Incoming article date: 16.06.2023The article discusses methods for optimizing floating point calculations on microcontroller devices. Hardware and software methods for accelerating calculations are considered. Algorithms of Karatsuba and Schönhage-Strassen for the multiplication operation are given. A method for replacing floating-point calculations with integer calculations is proposed. Describes how to use fixed point instead of floating point. The option of using hash memory and code optimization is considered. The results of measuring calculations on the AVR microcontroller are presented.
Keywords: floating point calculations, fixed point calculations, microcontroller, AVR, ARM