Ayuda
Ir al contenido

Dialnet


Analysis of modular arithmetic

  • Autores: Markus Müller-Olm, Helmut Seidl
  • Localización: ACM transactions on programming languages and systems, ISSN 0164-0925, Vol. 29, Nº 5, 2007, págs. 187-213
  • Idioma: inglés
  • Texto completo no disponible (Saber más ...)
  • Resumen
    • We consider integer arithmetic modulo a power of 2 as provided by mainstream programming languages like Java or standard implementations of C. The difficulty here is that, for w > 1, the ring ℤ Zm of integers modulo m = 2w has zero divisors and thus cannot be embedded into a field. Not withstanding that, we present intra- and interprocedural algorithms for inferring for every program point u affine relations between program variables valid at u. If conditional branching is replaced with nondeterministic branching, our algorithms are not only sound but also complete in that they detect all valid affine relations in a natural class of programs. Moreover, they run in time linear in the program size and polynomial in the number of program variables and can be implemented by using the same modular integer arithmetic as the target language to be analyzed. We also indicate how our analysis can be extended to deal with equality guards, even in an interprocedural setting.


Fundación Dialnet

Dialnet Plus

  • Más información sobre Dialnet Plus

Opciones de compartir

Opciones de entorno