Skip to content

sqrtf appears to be non-deterministic and throwing spurious verification failures #6563

Open
@sree314

Description

@sree314

CBMC version: 5.48 (but also 5.38 and 5.24)
Operating system: Ubuntu 20.04 and 18.04
Exact command line resulting in the issue: cbmc --trace sqrt.c
What behaviour did you expect: verification successful
What happened instead: verification failed and different results for sqrtf

See source code sqrt.c.txt

Also, when I add --z3 to the command line, cbmc crashes with an invariant violation report:

See report.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions