Skip to content

integer is not well-casted in real

ID0000062: This issue was created automatically from Mantis Issue 62. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0000062 Frama-C Kernel public 2009-04-24 2014-02-12
Reporter sboldo Assigned To virgile Resolution fixed
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C GIT, precise the release id Target Version - Fixed in Version Frama-C Beryllium-20090601-beta1

Description :

The following program fails with

"Error during analysis of annotation: invalid cast between real and integer. Use conversion functions instead"

But it works with int instead of integer....

/*@ axiomatic toto { @ logic integer g; @ } */

void f() { double B; /*@ assert B==g; */ }

Additional Information :

Release ID: 5098

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information