leo/tests/parser/expression/binary/mul.leo

26 lines
338 B
Plaintext
Raw Normal View History

2021-03-30 01:45:10 +03:00
/*
2021-04-07 20:01:24 +03:00
namespace: ParseExpression
2021-03-30 01:45:10 +03:00
expectation: Pass
*/
2022-03-08 21:20:05 +03:00
1u8 * 1u8
2021-03-30 01:45:10 +03:00
2022-03-08 21:20:05 +03:00
2u8*3u8
2021-03-30 01:45:10 +03:00
2022-03-08 21:20:05 +03:00
1u8 * 2u8 * 3u8
2021-03-30 01:45:10 +03:00
2022-03-08 21:20:05 +03:00
1u8 ** 2u8 * 3u8 ** 4u8
2021-03-30 01:45:10 +03:00
2022-06-16 22:53:53 +03:00
1u8 ** 2u8 * 3u8 ** 4u8 / 5u8 ** 6u8
!-x.mul(y)
x.mul(y).mul(y).mul(y)
-x.mul(y)
(-x).mul(y)
-(x.mul(y))
(-x.mul(y)).mul(y)
!x.mul(y)
(!x).mul(y)
!(x.mul(y))
(!x.mul(y)).mul(y)
(x.mul(y) * x.mul(y)).mul(x.mul(y) * x.mul(y))