View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000329 | Frama-C | Kernel > ACSL implementation | public | 2009-11-13 13:58 | 2014-02-12 16:55 | ||||
Reporter | sboldo | ||||||||
Assigned To | cmarche | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Product Version | Frama-C GIT, precise the release id | ||||||||
Target Version | Fixed in Version | Frama-C Boron-20100401 | |||||||
Summary | 0000329: Float promoted to double | ||||||||
Description | I am in the svn 33841 version. In the given file, the float x is propoted by frama-c to a double precision number by frama-c itself (frama-c-gui): instead of \exact(x) I have \exact((double )x) | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|
virgile (developer) 2009-11-13 16:40 |
- At the moment, there's only one exact built-in in the logic, which takes double as argument. - I suspect that overloading resolution is not equipped to deal with a float and a double version. |
cmarche (developer) 2009-11-13 16:58 |
- Good guess: the \exact built-in for float is comment out ! - Bad guess: overloading deals with float and double, e.g with \sign I guess that uncommmenting the \exact(float) will magically fix the bug... |
cmarche (developer) 2009-11-13 17:03 |
Fixed in cil/src/logic_builtins.ml, uncommented definitions for floats parameters. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-11-13 13:58 | sboldo | New Issue | |
2009-11-13 13:58 | sboldo | File Added: machin.c | |
2009-11-13 16:30 | signoles | Status | new => assigned |
2009-11-13 16:30 | signoles | Assigned To | => virgile |
2009-11-13 16:40 | virgile | Note Added: 0000559 | |
2009-11-13 16:40 | virgile | Assigned To | virgile => cmarche |
2009-11-13 16:58 | cmarche | Note Added: 0000560 | |
2009-11-13 17:03 | cmarche | Note Added: 0000561 | |
2009-11-13 17:03 | cmarche | Status | assigned => resolved |
2009-11-13 17:03 | cmarche | Resolution | open => fixed |
2009-11-13 17:04 | svn | ||
2010-02-05 09:46 | signoles | Category | Kernel => Kernel > ACSL implementation |
2010-04-13 15:30 | signoles | Status | resolved => new |
2010-04-13 15:31 | signoles | Status | new => closed |
2010-04-13 15:33 | signoles | Fixed in Version | => Frama-C Boron |
2013-12-19 01:13 | cmarche | Source_changeset_attached | => framac master 7d796f3d |
2014-02-12 16:55 | cmarche | Source_changeset_attached | => framac stable/neon 7d796f3d |