Added powmod in utility and PowerMod in the sintax and semantics of MiniImp
This commit is contained in:
@ -28,6 +28,7 @@ and a_exp =
|
||||
| Division of a_exp * a_exp (* a / a *)
|
||||
| Modulo of a_exp * a_exp (* a % a *)
|
||||
| Power of a_exp * a_exp (* a ^ a *)
|
||||
| PowerMod of a_exp * a_exp * a_exp (* a ^ a % a *)
|
||||
| Rand of a_exp (* rand(0, a) *)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user