It is currently April 27th, 2024, 12:52 am
Report bugs with the Rainmeter application and suggest features.
-
raimudancok
- Posts: 3
- Joined: July 7th, 2017, 5:47 am
Post
by raimudancok »
any operator followed by bitwise not, unary minus then parentheses will cause rainmeter to freeze
Code: Select all
[test]
Measure=Calc
Formula=1 - ~-(1)
; this works fine
; Formula=1 - ~(-(1))
-
FreeRaider
- Posts: 826
- Joined: November 20th, 2012, 11:58 pm
Post
by FreeRaider »
I am not a mathematician, but in the binary system there are no negative numbers (at least that is what I remember)
-
balala
- Rainmeter Sage
- Posts: 16174
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Post
by balala »
FreeRaider wrote:I am not a mathematician, but in the binary system there are no negative numbers (at least that is what I remember)
Sorry FreeRaider, but that's wrong. For example:
https://stackoverflow.com/questions/4295578/explanation-of-bitwise-not-operator