Casio FX-115ESPLUS-2

User Manual - Page 70

For FX-115ESPLUS-2.

PDF File Manual, 105 pages, Download pdf file

Loading ...
Loading ...
Loading ...
Logical and Negation Operations
Y
our calculator provides you with logical operators (and, or, xor, xnor) and
functions (Not, Neg) for logical and negation operations on binary values.
Use the menu that appears when you press
(BASE) to input these
logical operators and functions.
Press this key: When you want to input this:
(and)
Logical operator "and" (logical product),
which returns the result of a bitwise AND
(or)
Logical operator "or" (logical sum), which
returns the result of a bitwise OR
(xor)
Logical operator "xor" (exclusive logical
sum), which returns the result of a bitwise
XOR
(xnor)
Logical operator "xnor" (exclusive
negative logical sum), which returns the
result of a bitwise XNOR
(Not)
"Not(" function, which returns the result of
a bitwise complement
(Neg)
"Neg(" function, which returns the result of
a two's complement
All of the following examples are performed in the binary mode ( (BIN)).
Example 1: T
o determine the logical AND of 1010
2
and 1100
2
(1010
2
and
1
100
2
)
1010 (BASE) (and) 1100 0000000000001000
Example 2: T
o determine the logical OR of 1011
2
and 11010
2
(1011
2
or
11010
2
)
1011 (BASE) (or) 11010 0000000000011011
Example 3: T
o determine the logical XOR of 1010
2
and 1100
2
(1010
2
xor
1100
2
)
1010 (BASE) (xor) 1100 0000000000000110
69
Loading ...
Loading ...
Loading ...