Panda 0.2.1-alpha
Update time!
Take a look at Panda 0.2.1-alpha and these awesome bitwise operations:
Changes in language:
- GH-585 Support for bitwise operators
log (-8) == (~7)
log 1 == (5 & 3)
log 7 == (5 | 3)
log 6 == (5 ^ 3)
log 4 == (2 << 1)
log 2 == (4 >> 1)
- GH-605 Support for floating numbers without leading zero
log 1.01 == (1 + .01)
- GH-590 Fixed invalid equals comparison between different number types
Int positiveInt = 7
Int negativeInt = -7
Double positiveDouble = 7.0
Double negativeDouble = -7.0
// Since 0.2.1-alpha works as expected ❤️
log positiveInt == positiveDouble
log negativeInt == negativeDouble
- GH-596 Removed possibility of using operation based expressions as standalone statements
Changes in internals:
- b301f411733b08c2bc4c0f732db4519aa2cac5ee Improved performance of math and logical operations
- GH-606 Added conjunction property to operators
- GH-556 Fixed LGTM issues
Download:
Installation: panda-lang.org/install
Developers: panda-lang.org/guide#installation
Archives: