Skip to main content
Erschienen in: Numerical Algorithms 3/2020

24.05.2019 | Original Paper

Optimal inverse projection of floating-point addition

verfasst von: Diane Gallois-Wong, Sylvie Boldo, Pascal Cuoq

Erschienen in: Numerical Algorithms | Ausgabe 3/2020

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

In a setting where we have intervals for the values of floating-point variables x, a, and b, we are interested in improving these intervals when the floating-point equality xa = b holds. This problem is common in constraint propagation and called the inverse projection of the addition. It also appears in abstract interpretation for the analysis of programs containing IEEE 754 operations. We propose floating-point theorems that provide optimal bounds for all the intervals. Fast loop-free algorithms compute these optimal bounds using only floating-point computations at the target precision.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Fußnoten
1
Note that designing interval arithmetic operations to work with infinite bounds requires special care, but is not impossible.
 
2
One example is x ∈[0x1.00068db8bac72p + 0,2.0], a ∈[0x1.000d1b71758e2p + 0,2.0] and b = 0x1.fff2e53a4e1dbp− 1. The operation 0x1.00068db8bac72p + 0 / 0x1.000d1b71758e2p + 0 evaluates to 0x1.fff2e53a4e1dcp− 1, whereas 0x1.00068db8bac72p + 0 / 0x1.000d1b71758e3p + 0 evaluates to 0x1.fff2e53a4e1dap− 1, and 0x1.00068db8bac73p + 0 / 0x1.000d1b71758e3p + 0 evaluates to 0x1.fff2e53a4e1dcp− 1 again, and so on.
 
Literatur
2.
Zurück zum Zitat Chen, L., Miné, A., Cousot, P.: A sound floating-point polyhedra abstract domain. In: Ramalingam, G. (ed.) Programming Languages and Systems, pp 3–18. Springer, Berlin (2008)CrossRef Chen, L., Miné, A., Cousot, P.: A sound floating-point polyhedra abstract domain. In: Ramalingam, G. (ed.) Programming Languages and Systems, pp 3–18. Springer, Berlin (2008)CrossRef
3.
Zurück zum Zitat Cousot, P., Cousot, R.: Static determination of dynamic properties of programs. In: Proceedings of the Second International Symposium on Programming, pp 106–130. Dunod, Paris, France (1976) Cousot, P., Cousot, R.: Static determination of dynamic properties of programs. In: Proceedings of the Second International Symposium on Programming, pp 106–130. Dunod, Paris, France (1976)
4.
Zurück zum Zitat Cousot, P., Cousot, R.: Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints. In: Sethi, R. (ed.) Proceedings of the 4th ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages (POPL), pp 238–252. ACM, Los Angeles, CA, USA (1977), https://doi.org/10.1145/512950.512973 Cousot, P., Cousot, R.: Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints. In: Sethi, R. (ed.) Proceedings of the 4th ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages (POPL), pp 238–252. ACM, Los Angeles, CA, USA (1977), https://​doi.​org/​10.​1145/​512950.​512973
6.
Zurück zum Zitat ISO: International standard ISO/IEC 9899:2011 Programming languages – C (2011) ISO: International standard ISO/IEC 9899:2011 Programming languages – C (2011)
7.
Zurück zum Zitat Marre, B., Michel, C.: Improving the floating point addition and subtraction constraints. In: Cohen, D. (ed.) Principles and Practice of Constraint Programming – CP 2010, pp 360–367. Springer, Berlin (2010)CrossRef Marre, B., Michel, C.: Improving the floating point addition and subtraction constraints. In: Cohen, D. (ed.) Principles and Practice of Constraint Programming – CP 2010, pp 360–367. Springer, Berlin (2010)CrossRef
8.
Zurück zum Zitat Michel, C.: Exact projection functions for floating point number constraints. In: International Symposium on Artificial Intelligence and Mathematics. Fort Lauderdale, Florida, USA (2002). Http://Rutcor.Rutgers.Edu/ Amai/Aimath02/PAPERS/21.Ps. (AI&m (2002) Michel, C.: Exact projection functions for floating point number constraints. In: International Symposium on Artificial Intelligence and Mathematics. Fort Lauderdale, Florida, USA (2002). Http://Rutcor.Rutgers.Edu/ Amai/Aimath02/PAPERS/21.Ps. (AI&m (2002)
10.
Zurück zum Zitat Miné, A.: Relational abstract domains for the detection of floating-point run-time errors. In: Schmidt, D. (ed.) Programming Languages and Systems, pp 3–17. Springer, Berlin (2004) Miné, A.: Relational abstract domains for the detection of floating-point run-time errors. In: Schmidt, D. (ed.) Programming Languages and Systems, pp 3–17. Springer, Berlin (2004)
12.
Zurück zum Zitat Moore, R.E.: Interval analysis. Prentice-Hall, Englewood Cliffs (1963) Moore, R.E.: Interval analysis. Prentice-Hall, Englewood Cliffs (1963)
15.
Zurück zum Zitat Sterbenz, P.H.: Floating point computation. Prentice Hall (1974) Sterbenz, P.H.: Floating point computation. Prentice Hall (1974)
Metadaten
Titel
Optimal inverse projection of floating-point addition
verfasst von
Diane Gallois-Wong
Sylvie Boldo
Pascal Cuoq
Publikationsdatum
24.05.2019
Verlag
Springer US
Erschienen in
Numerical Algorithms / Ausgabe 3/2020
Print ISSN: 1017-1398
Elektronische ISSN: 1572-9265
DOI
https://doi.org/10.1007/s11075-019-00711-z

Weitere Artikel der Ausgabe 3/2020

Numerical Algorithms 3/2020 Zur Ausgabe