Proceedingsbeitrag
Zitieren …

Inferring Interval-Valued Floating-Point Preconditions

Jonas Krämer, Lionel Blatter 1, Eva Darulova  und Mattias Ulbrich ORCID-iD-Icon 1
1 Institut für Informationssicherheit und Verlässlichkeit (KASTEL), Karlsruher Institut für Technologie (KIT)
DOI: 10.5445/IR/1000145543
Verlagsausgabe veröffentlicht am 29.04.2022
CC BY 4.0
Abstract

Aggregated roundoff errors caused by floating-point arithmetic can make numerical code highly unreliable. Verified postconditions for floating-point functions can guarantee the accuracy of their results under specific preconditions on the function inputs, but how to systematically find an adequate precondition for a desired error bound has not been explored so far. We present two novel techniques for automatically synthesizing preconditions for floating-point functions that guarantee that user-provided accuracy requirements are satisfied. Our evaluation on a standard benchmark set shows that our approaches are complementary and able to find accurate preconditions in reasonable time.