alt-ergo driver: fixed incorrect syntax %% into %

parent 03ba4663
......@@ -65,7 +65,7 @@ end
theory int.EuclideanDivision
syntax logic div "(%1 / %2)"
syntax logic mod "(%1 %% %2)"
syntax logic mod "(%1 % %2)"
end
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment