Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
de000d79
Commit
de000d79
authored
Oct 26, 2010
by
Jean-Christophe Filliâtre
Browse files
alt-ergo driver: fixed incorrect syntax %% into %
parent
03ba4663
Changes
2
Hide whitespace changes
Inline
Side-by-side
drivers/alt_ergo.drv
View file @
de000d79
...
...
@@ -65,7 +65,7 @@ end
theory int.EuclideanDivision
syntax logic div "(%1 / %2)"
syntax logic mod "(%1 %
%
%2)"
syntax logic mod "(%1 % %2)"
end
...
...
tests/test-jcf.why
View file @
de000d79
...
...
@@ -3,7 +3,13 @@
theory Test
type t = tuple2 int int
use export int.Int
use real.Real as R
logic ( *. ) (x:real) (y:real) : real = R.(*) x y
logic power (x : real) (n : int) : real =
if n = 0 then 1.0 else x *. power x (n-1)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment