I have some issues with ACSL specification for the last Frama-C version.
I tried a lot of things to declare a pair of reals, but none of them worked.
Here is a tiny example illustrating by problem :
/*@ type real_pair = (real, real); */
Which gives :
[kernel] user error: unexpected token '('
At the end, I want to have a code near to :
/*@ axiomatic RealPairs {
type real_pair = (real, real);
logic real Norm ( real_pair p ) =
\let (x,y) = p;
\sqrt(x*x + y*y);
} */
Does someone see where the error is ? I found the ACSL documentation very vague on the type declarations...
Thank you very much for your answers.
Best regards,
Nilexys.