SciELO - Scientific Electronic Library Online

 
vol.27 issue1Simulation and Optimization of Hydraulics Applied in Oil Well DrillingProgressive Forest: An Early Stopping Criteria for Building Ensembles author indexsubject indexsearch form
Home Pagealphabetic serial listing  

Services on Demand

Journal

Article

Indicators

Related links

  • Have no similar articlesSimilars in SciELO

Share


Computación y Sistemas

On-line version ISSN 2007-9737Print version ISSN 1405-5546

Abstract

SANDOVAL-GUTIERREZ, Jacobo; HERRERA-LOZADA, Juan Carlos; LAGUNA-SANCHEZ, Gerardo Abel  and  ALVAREZ-CEDILLO, Jesús Antonio. Numerical analysis of atan2() for embedded systems. Comp. y Sist. [online]. 2023, vol.27, n.1, pp.79-87.  Epub June 16, 2023. ISSN 2007-9737.  https://doi.org/10.13053/cys-27-1-4141.

The atan2() function is used in different areas of knowledge, mainly through the use of specific libraries included with programming languages, with which users obtain results, more or less accurate and with a certain precision, but without paying much attention to the amount of computational resources used, namely the memory used and the precision of the logical-arithmetic unit of the processor. Users of these libraries also do not evaluate other related aspects, such as power consumption, space used, and associated costs. However, when computational resources are limited, as in the case of embedded systems, implementing of any mathematical function requires some performance evaluation. In this work, we propose some implementations for the atan2() function, supported by the Euler and Maclaurin series, comparing the performance obtained against the reference implementations, namely the use of lookup tables and the implementations available in the standard libraries. Furthermore, this work takes advantage of the architecture of ARM processors, making use of their threaded interrupts and vectorized operations, all this to have implementation alternatives for the atan2() function to apply them in portable devices and obtain significant advantages by achieving a shorter startup time, less space occupied, low power consumption and low cost.

Keywords : atan2(); ARM; embedded systems.

        · abstract in Spanish     · text in Spanish