Tests exhibiting performance problems with floating point equalities
See #4337.
This commit is contained in:
parent
4f19015c8e
commit
b3c9adec0a
|
@ -0,0 +1,13 @@
|
|||
#include <assert.h>
|
||||
|
||||
void main()
|
||||
{
|
||||
double a, b, c;
|
||||
__CPROVER_assume(a + b > c);
|
||||
#ifdef EQUALITY
|
||||
double x = a, y = b, z = c;
|
||||
assert(!(z > x + y));
|
||||
#else
|
||||
assert(!(c > a + b));
|
||||
#endif
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
KNOWNBUG broken-smt-backend
|
||||
main.c
|
||||
-DEQUALITY
|
||||
^EXIT=0$
|
||||
^SIGNAL=0$
|
||||
^VERIFICATION SUCCESSFUL$
|
||||
--
|
||||
^warning: ignoring
|
||||
--
|
||||
Times out. See #4337.
|
|
@ -0,0 +1,9 @@
|
|||
CORE broken-smt-backend
|
||||
main.c
|
||||
|
||||
^EXIT=0$
|
||||
^SIGNAL=0$
|
||||
^VERIFICATION SUCCESSFUL$
|
||||
--
|
||||
^warning: ignoring
|
||||
--
|
Loading…
Reference in New Issue