Latest Calculation Result (Ans)
• The result of the latest calculation is stored in a variable named Ans, which is independent of the Calculate
app's Ans. To input Ans into a new calculation, press PF(Ans).
• Pressing F clears the calculation and all results, but Ans retains the latest calculation result.
• The Base-N app's Ans is reset to 0 each time you exit the Base-N app.
Logical Operations and Negative Number Calculations
The following functions and commands can perform logical (bitwise operations) and negative number
calculations.
C > [Logic Operation] > [Neg()], [Not()], [and], [or], [xor], [xnor]
Syntax
Neg( n )
Not( n )
n and m
n or m
n xor m
n xnor m
*1 Two's complement. Negative binary, octal, and hexadecimal values are produced by taking the two's
complement of a 32-bit binary number and then returning the result to the original number base. With the
decimal number base, negative values are displayed with a minus sign.
*2 One's complement (bitwise complement)
*3 Bitwise AND, bitwise OR, bitwise XOR, bitwise XNOR
Example Calculation
Logical Operators
To obtain the result of
120
and AD
16
16
Negative Value Calculations
To obtain the negative
value of 110010
2
Obtains the negative value
*2
Negates
n .
Obtains the logical conjunction
Obtains the logical disjunction
Obtains the exclusive OR
*3
Negates
the exclusive OR of n and m .
F > [Hexadecimal]
120C > [Logic Operation] > [and]
C > [Logic Operation] > [Neg()]
142
*1
of n .
*3
of n and m .
*3
of n and m .
*3
of n and m .
X
A
g
D
E
F > [Binary]
110010E
Need help?
Do you have a question about the CLASSWIZ CG and is the answer not in the manual?
Questions and answers