View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001309 | Frama-C | Kernel > ACSL implementation | public | 2012-11-19 16:51 | 2014-02-12 16:58 | ||||
Reporter | signoles | ||||||||
Assigned To | virgile | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | Frama-C Fluorine-20130401 | |||||||
Summary | 0001309: Incorrect typing of term conditional over floats | ||||||||
Description | void foo(int c) { float f = 1.0; /*@ assert 0.0 <= (c ? f : 2.0); */ } In this example, both terms f and 2.0 in the conditional must get type Real. That is not the case. You can see that by running the attached script on this file: frama-c -load-script test.ml test.i IF ????? float : ? | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-19 16:51 | signoles | New Issue | |
2012-11-19 16:51 | signoles | Status | new => assigned |
2012-11-19 16:51 | signoles | Assigned To | => virgile |
2012-11-19 16:51 | signoles | File Added: test.ml | |
2012-11-23 17:28 | svn | ||
2012-11-23 17:28 | svn | Status | assigned => resolved |
2012-11-23 17:28 | svn | Resolution | open => fixed |
2013-04-19 11:05 | signoles | Fixed in Version | => Frama-C Fluorine |
2013-04-19 11:05 | signoles | Status | resolved => closed |
2013-12-19 01:11 | Source_changeset_attached | => framac master 2e4bce9f | |
2014-02-12 16:53 | Source_changeset_attached | => framac stable/neon 2e4bce9f | |
2014-02-12 16:58 | Note Added: 0004607 | ||
2014-02-12 16:58 | Status | closed => resolved |