Skip to content

Commit

Permalink
Update tutorial example: double is now a reserved word for float
Browse files Browse the repository at this point in the history
  • Loading branch information
polgreen committed Nov 14, 2023
1 parent 3bacfb8 commit af3b470
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tutorial/ex2.1-alu.ucl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module main {
cnt, result.value = 1bv8, 1bv8;
}

define double(arg : bv8) : bv8 = (arg + arg);
define Double(arg : bv8) : bv8 = (arg + arg);

procedure exec_cmd()
returns (r : result_t)
Expand All @@ -37,7 +37,7 @@ module main {

next {
call (result') = exec_cmd();
cnt' = double(cnt);
cnt' = Double(cnt);
}

assume regindex_zero : (r1 == 0bv3 && r2 == 0bv3);
Expand Down
Binary file modified tutorial/tutorial.pdf
Binary file not shown.

0 comments on commit af3b470

Please sign in to comment.