Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
testing
Functions
035_invariant.c File Reference
Go to the source code of this file.
Functions
void
func
(int p, int *q)
Function Documentation
void func
(
int
p
,
int *
q
)
Invariant
i+j=p
Precondition
p>=0
Postcondition
*q=2^(p+1)
Definition at line
10
of file
035_invariant.c
.
11
{
12
int
j =
p
,
k
=1, i;
13
for
(i=0; i<=
p
; i++) j--,k=k*2;
14
*q =
k
;
15
}
test.p
p
Definition:
test.py:223
muoncounters.k
k
Definition:
muoncounters.py:27
Generated by
1.8.11