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] postcondition of sqr function


  • Subject: [Frama-c-discuss] postcondition of sqr function
  • From: jens.gerlach at first.fraunhofer.de (Jens Gerlach)
  • Date: Tue, 19 May 2009 11:34:52 +0200

Hello,

I tried to prove the following post conditon with Jessie but could not  
succeed
when calling

	frama-c -jessie-analysis -jessie-gui my_sqr.c

on Mac OS X (neither with alt-ergo, yices, and cvc3).
Did I miss something obvious?

Regards Jens

/*@
     ensures \result >= 0.0;
*/
double sqr(double x)
{
    return x * x;
}



-- 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20090519/252aaa19/attachment-0001.htm