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



The axiom is of course true, but would be better as

axiom floor: \forall real a; floor(a) <= a < floor(a)+1;

On 11/18/2014 4:42 AM, Claude Marche wrote:
> /*@ axiomatic Floor {
>   @   logic integer floor(real a);
>   @   axiom floor: \forall real a; floor(a) <= a <= floor(a)+1;
>   @ }
>   @*/