Wpis z mikrobloga

@lukaszwasyl: protip - algebra boola i tamtejsza kolejność wykonywania działań. Negacja ma priorytet, a and/or to jak mnożenie/dodawanie.

przykład z twojego linku: 1 OR NOT(0) AND 0 = 1 OR 1 AND 0 = 1 OR (1 AND 0) = 1 OR 0 = 1
@Abraham_Szymon_Goldstein: tak więc co nie bangla ?

boolone = 2+2=3 or not 25+3=28 or 9+2=121

bool
two = 5+9=13 and not 4^2=16 or 5=5

bool_three = 2+1=3 and not 5-2=2 or 2*22=4

boolfour = not not 26-2^4=10 or 2-2=2 and not 25^2=125

bool
five = not 1=2 or not 2=2 or 5=5

łatwiej mi się to wyobraża na przykładzie ;)
@lukaszwasyl: skąd wziąłeś te przykłady? tam jest

Set boolone equal to the result of False or not True and True


czyli 0 or not 1 and 1 = 0 or 0 and 1 = 0 or (0 and 1) = 0 or 0 = 0

to co napisałeś ma takie wartości logiczne:

boolone = 2+2=3 or not 25+3=28 or 9+2=121


2+2=3 -> 0

25+3=28 -> 1

9+2=121 ->0

czyli mamy: