leo/tests/compiler/integers/i128/pow.leo
2022-06-16 16:45:37 -07:00

10 lines
175 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file: inputs/pow.in
*/
function main(a: i128, b: i128, c: i128) -> bool {
return a ** 2u8 == a ** 2u16 && a ** 2u32 == c;
}