Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] [Jessie] loop invariant




On 09/07/2013 10:56 AM, Claude Marche wrote:
>> Alternatively, you can force the computation into float in sum
>> by modifying your axiom:
>>    @   axiom sum2{L} :
>>    @     \forall float *t, integer i, j;
>>    @       sum(t,i,j+1) == (float)(sum(t,i,j) + t[j]);
>> But this is not a very good idea IMHO: as floating point addition is

A very bad idea indeed.

- claude