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] about bsearch in ACSL

  • Subject: [Frama-c-discuss] about bsearch in ACSL
  • From: wlxie2000 at (谢文龙)
  • Date: Sun, 17 Sep 2017 17:17:16 +0800 (CST)
  • In-reply-to: <>
  • References: <>

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: <>