Skip to main content
Top
Published in: The Journal of Supercomputing 6/2021

09-11-2020

Error detection of arithmetic expressions

Authors: Yuanyuan Xia, Shaozhong Guo, Jiangwei Hao, Dan Liu, Jinchen Xu

Published in: The Journal of Supercomputing | Issue 6/2021

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Inspecting floating-point errors is essential to floating-point operations. In this paper, we present floating-point error detector (FPED), an inspector of floating-point errors for arithmetic expressions. FPED can pick a suitable benchmark generation approach by analyzing the distribution of the expression of a floating-point operation, thereby minimizing the possibilities of underreporting floating-point errors. FPED is also able to determine the significant sources of errors in a floating-point operation according to the frequencies of computation building blocks that contribute most to the floating-point errors, benefiting the follow-up optimizations of computation accuracies. We validate the correctness and functionalities of FPED by conducting experiments on the FPBench benchmark suite. The experimental results demonstrate that FPED can obtain more accurate detection results than the random detecting approach with respect to floating-point error detection. We also compare FPED with the existing dynamic error detection tools. The experimental results show that in most of the 33 test benchmarks, the maximum error results of FPED are greater than Herbgrind and the detection performance is higher than Herbgrind.

Dont have a licence yet? Then find out more about our products and how to get one now:

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!

Literature
1.
go back to reference Darulova E, Izycheva A, Nasir F, Ritter F, Becker H, Bastian R (2018) Daisy—framework for analysis and optimization of numerical programs (tool paper). In: Beyer D, Huisman M (eds) Tools and Algorithms for the Construction and Analysis of Systems. TACAS 2018. Lecture Notes in Computer Science, vol 10805. Springer, Cham. https://doi.org/10.1007/978-3-319-89960-2_15CrossRef Darulova E, Izycheva A, Nasir F, Ritter F, Becker H, Bastian R (2018) Daisy—framework for analysis and optimization of numerical programs (tool paper). In: Beyer D, Huisman M (eds) Tools and Algorithms for the Construction and Analysis of Systems. TACAS 2018. Lecture Notes in Computer Science, vol 10805. Springer, Cham. https://​doi.​org/​10.​1007/​978-3-319-89960-2_​15CrossRef
5.
go back to reference Solovyev A, Jacobsen C, Rakamarić Z, Gopalakrishnan G (2015) Rigorous Estimation of Floating-Point Round-off Errors with Symbolic Taylor Expansions. In: Bjørner N, de Boer F (eds) FM 2015: Formal Methods. FM 2015. Lecture Notes in Computer Science, vol 9109. Springer, Cham. https://doi.org/10.1145/3230733CrossRef Solovyev A, Jacobsen C, Rakamarić Z, Gopalakrishnan G (2015) Rigorous Estimation of Floating-Point Round-off Errors with Symbolic Taylor Expansions. In: Bjørner N, de Boer F (eds) FM 2015: Formal Methods. FM 2015. Lecture Notes in Computer Science, vol 9109. Springer, Cham. https://​doi.​org/​10.​1145/​3230733CrossRef
7.
go back to reference Alex S, Pavel P, Sorin L, Zachary T (2018) Finding root causes of floating point error. In: Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI 2018). Association for Computing Machinery, New York, NY, USA, vol 53. pp 256–269. https://doi.org/10.1145/3296979.3192411 Alex S, Pavel P, Sorin L, Zachary T (2018) Finding root causes of floating point error. In: Proceedings of the 39th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI 2018). Association for Computing Machinery, New York, NY, USA, vol 53. pp 256–269. https://​doi.​org/​10.​1145/​3296979.​3192411
8.
go back to reference Florian B, Andreas H, Sebastian H (2012) A dynamic program analysis to find floating-point accuracy problems. In: Proceedings of the 33rd ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI ’12). Association for Computing Machinery, New York, NY, USA, vol 47. pp 453–462 https://doi.org/10.1145/2254064.2254118 Florian B, Andreas H, Sebastian H (2012) A dynamic program analysis to find floating-point accuracy problems. In: Proceedings of the 33rd ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI ’12). Association for Computing Machinery, New York, NY, USA, vol 47. pp 453–462 https://​doi.​org/​10.​1145/​2254064.​2254118
9.
go back to reference Eric S, Rahul S, Alex A (2014) Stochastic optimization of floating-point programs with tunable precision. In: Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI ’14). Association for Computing Machinery, New York, NY, USA, vol 49. pp 53–64. https://doi.org/10.1145/2666356.2594302 Eric S, Rahul S, Alex A (2014) Stochastic optimization of floating-point programs with tunable precision. In: Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI ’14). Association for Computing Machinery, New York, NY, USA, vol 49. pp 53–64. https://​doi.​org/​10.​1145/​2666356.​2594302
11.
Metadata
Title
Error detection of arithmetic expressions
Authors
Yuanyuan Xia
Shaozhong Guo
Jiangwei Hao
Dan Liu
Jinchen Xu
Publication date
09-11-2020
Publisher
Springer US
Published in
The Journal of Supercomputing / Issue 6/2021
Print ISSN: 0920-8542
Electronic ISSN: 1573-0484
DOI
https://doi.org/10.1007/s11227-020-03469-7

Other articles of this Issue 6/2021

The Journal of Supercomputing 6/2021 Go to the issue

Premium Partner