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

[Frama-c-discuss] Average Problem



Hi,
\sum and \lambda are unsupported with WP.
Instead, you can axiomatize your sum or use an inductive predicate.

See http://www.fokus.fraunhofer.de/de/sqc/_download_sqc/ACSL-by-Example.pdf
? 3.8.1 is a good hint.
	L.



Le 29 sept. 2014 ? 10:00, Sebastian <sdavrieux at gmail.com> a ?crit :

> Good morning,
>    I'm trying to do the average without overflow, however I'm not able to check an assert that contains \sum annotation.
> So I decided to make a simpler function that only uses \sum, but it doesn't work. What can I do to solve the problem?
> 
> Best regards,
> Sebastian
> <testSum.c>_______________________________________________
> Frama-c-discuss mailing list
> Frama-c-discuss at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss