--- layout: fc_discuss_archives title: Message 7 from Frama-C-discuss on September 2017 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] about bsearch in ACSL



In ACSL 1.12, there is an example for bsearch in page 39
for failure: loop invariant
\forall integer k; 0 <= k < n && t[k] == v ==> l <= k <= u;
If there was an k for that t[k] == v, it should be successful, why it was failure, thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20170917/5b95c753/attachment.html>