I logical operators (and, or, not, xor) – Casio FX-9750GII User Manual
Page 58

2-20
= 0.0009k (kilo)
= 0.9
= 900m
(ENG)*
1
(ENG)*
2
(ENG)*
2
* fx-7400G
II
:
(ESYM)
*
1
Converts the displayed value to the next higher engineering unit, by shifting the decimal
point three places to the right.
*
2
Converts the displayed value to the next lower engineering unit, by shifting the decimal point
three places to the left.
I Logical Operators (AND, OR, NOT, XOR)
[OPTN]-[LOGIC]
The logical operator menu provides a selection of logical operators.
• {And}/{Or}/{Not}/{Xor} ... {logical AND}/{logical OR}/{logical NOT}/{logical XOR}
• Be sure to specify Comp for Mode in the Setup screen.
Example What is the logical AND of A and B when A = 3 and B = 2?
A AND B = 1
Operation
Display
3
??T(A)U
2
??J(B)U
?T(A)*(E)(E)
(LOGIC)*(And)?J(B)U
1
* fx-7400G
II
:
(LOGIC)
S About Logical Operations
• A logical operation always produces either 0 or 1 as its result.
• The following table shows all of possible results that can be produced by AND, OR and XOR
operations.
Value or Expression A
Value or Expression B
A AND B
A OR B
A XOR B
A
x 0
B
x 0
1
1
0
A
x 0
B = 0
0
1
1
A = 0
B
x 0
0
1
1
A = 0
B = 0
0
0
0
• The following table shows the results produced by the NOT operation.
Value or Expression A
NOT A
A
x 0
0
A = 0
1