make this test work on Windows, another attempt
git-svn-id: svn+ssh://svn.cprover.org/srv/svn/cbmc/trunk@5379 6afb6bc1-c8e4-404c-8f48-9ae832c5b171
This commit is contained in:
parent
e869257131
commit
30f47ed188
|
@ -3,7 +3,7 @@
|
|||
|
||||
#ifdef _MSC_VER
|
||||
#include <float.h>
|
||||
int isnanf(float);
|
||||
#define isnan(x) ((x)!=(x))
|
||||
#else
|
||||
#include <fenv.h>
|
||||
#endif
|
||||
|
@ -12,8 +12,8 @@ int main (void) {
|
|||
float f;
|
||||
float g;
|
||||
|
||||
__CPROVER_assume(!isnanf(f));
|
||||
__CPROVER_assume(!isnanf(g));
|
||||
__CPROVER_assume(!isnan(f));
|
||||
__CPROVER_assume(!isnan(g));
|
||||
|
||||
if (f > g) {
|
||||
#ifdef _MSC_VER
|
||||
|
|
Loading…
Reference in New Issue