1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-13 03:32:22 +00:00
ton/crypto/func/test/a6_3.fc

23 lines
314 B
Text
Raw Normal View History

forall A, B, C ->
(B, C, A) rot(A x, B y, C z) {
return (y, z, x);
}
forall A, B, C ->
_ rot2(A x, B y, C z) {
return rot(rot(x, y, z));
}
_ test() {
return rot2(2, 3, 9);
}
_ test2(cell x, slice y, tuple z) {
return rot2(x, y, z);
}
forall A ->
_ test3(cell x, A y, int z) {
return rot2(x, y, z);
}