leo/tests/parser/expression/binary/div.leo

24 lines
300 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-06-16 22:53:53 +03:00
1u8 ** 2u8 / 3u8 ** 4u8
!-x.div(y)
x.div(y).div(y).div(y)
-x.div(y)
(-x).div(y)
-(x.div(y))
(-x.div(y)).div(y)
!x.div(y)
(!x).div(y)
!(x.div(y))
(!x.div(y)).div(y)
(x.div(y) / x.div(y)).div(x.div(y) / x.div(y))