Add FramaC TDM

This commit is contained in:
Yorick Barbanneau 2023-04-30 21:36:12 +02:00
parent 713e8d12c4
commit 56e86b4b20
9 changed files with 606 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#ifndef __FORMALISM__
#define __FORMALISM__
#include <limits.h>
/*@ logic integer abs(integer n) = 0<n?n:-n;*/
/*@ terminates \true;
ensures \result == abs(n);
*/
int abs(int n);
/*@ terminates \true;
ensures \result == abs(n);*/
int abs2(int n);
#endif