Achieving high coverage for floating-point code via unconstrained programming

Z Fu, Z Su - ACM SIGPLAN Notices, 2017 - dl.acm.org
Achieving high code coverage is essential in testing, which gives us confidence in code
quality. Testing floating-point code usually requires painstaking efforts in handling floating-
point constraints, eg, in symbolic execution. This paper turns the challenge of testing floating-
point code into the opportunity of applying unconstrained programming---the mathematical
solution for calculating function minimum points over the entire search space. Our core
insight is to derive a representing function from the floating-point program, any of whose …

Achieving High Coverage for Floating-point Code via Unconstrained Programming (Extended Version)

Z Fu, Z Su - arXiv preprint arXiv:1704.03394, 2017 - arxiv.org
Achieving high code coverage is essential in testing, which gives us confidence in code
quality. Testing floating-point code usually requires painstaking efforts in handling floating-
point constraints, eg, in symbolic execution. This paper turns the challenge of testing floating-
point code into the opportunity of applying unconstrained programming---the mathematical
solution for calculating function minimum points over the entire search space. Our core
insight is to derive a representing function from the floating-point program, any of whose …
Showing the best results for this search. See all results