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] Floor problem

Yes, of course!
And indeed, the specification from Claude is much better.

>> It is interesting to notice that WP translates a double d into an int with `to_uint32(truncate (d))`.
>> So in your case, you should use a driver directive like:
>> ```
>> logic real \floor(real) = "truncate" ;
>> ```
>> However, I?m afraid `truncate` is not yet axiomatized completely, but you can provide supplementary axioms about the `truncate` function on your own.