Servicios Personalizados
Revista
Articulo
Indicadores
- Citado por SciELO
- Accesos
Links relacionados
- Similares en SciELO
Compartir
Computación y Sistemas
versión On-line ISSN 2007-9737versión impresa ISSN 1405-5546
Resumen
SANDOVAL-GUTIERREZ, Jacobo; HERRERA-LOZADA, Juan Carlos; LAGUNA-SANCHEZ, Gerardo Abel y 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 16-Jun-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.
Palabras llave : atan2(); ARM; embedded systems.