OLD | NEW |
(Empty) | |
| 1 library test; |
| 2 import self as self; |
| 3 |
| 4 static field dynamic a_equal = 1.0.==(2); |
| 5 static field dynamic a_notEqual = !1.0.==(2); |
| 6 static field dynamic a_add = 1.0.+(2); |
| 7 static field dynamic a_subtract = 1.0.-(2); |
| 8 static field dynamic a_multiply = 1.0.*(2); |
| 9 static field dynamic a_divide = 1.0./(2); |
| 10 static field dynamic a_floorDivide = 1.0.~/(2); |
| 11 static field dynamic a_greater = 1.0.>(2); |
| 12 static field dynamic a_less = 1.0.<(2); |
| 13 static field dynamic a_greaterEqual = 1.0.>=(2); |
| 14 static field dynamic a_lessEqual = 1.0.<=(2); |
| 15 static field dynamic a_modulo = 1.0.%(2); |
| 16 static method main() → dynamic { |
| 17 self::a_equal; |
| 18 self::a_notEqual; |
| 19 self::a_add; |
| 20 self::a_subtract; |
| 21 self::a_multiply; |
| 22 self::a_divide; |
| 23 self::a_floorDivide; |
| 24 self::a_greater; |
| 25 self::a_less; |
| 26 self::a_greaterEqual; |
| 27 self::a_lessEqual; |
| 28 self::a_modulo; |
| 29 } |
OLD | NEW |