beautypg.com

Calc, Using calc, A complement/inversion (not) – Casio fx-5800P User Manual

Page 91: A negation (neg), A performing calculation with calc, E-90

background image

E-90

Example: 1111

2

xnor 101

2

= 11111111111111111111111111110101

2

1111z1(BASE-N)

c6(xnor)101

E

A Complement/Inversion (Not)

Returns the result of a complement (bitwise inversion).

Example: Not(1010

2

) = 11111111111111111111111111110101

2

z1(BASE-N)c2(Not)

1010)E

A Negation (Neg)

Returns the two’s complement of a value. Negation is supported only when the negative
value setting is “Signed”.

Example: Neg(101101

2

) = 11111111111111111111111111010011

2

z1(BASE-N)c1(Neg)

101101)E

CALC

CALC makes it easy to solve an expression that contains variables. After you input the
expression, simply enter values for the variables to calculate the result. You can change the
values of the variables as many times as you like.
CALC can be used only in the COMP Mode (

N1).

k

Using CALC

Inputting an expression that contains variables and pressing the

s key displays a “value

assignment screen”, which you can use to assign values to each variable. After inputting the
values, press

E to execute the calculation.

A Performing Calculation with CALC

Important!

• In the CALC mode, a calculation that contains variables can use variables A through Z

only. Extra variables (Z[1], Z[2], etc.) cannot be used as variables. If you try to use an
extra variable in a calculation in the CALC mode, it will be treated as a constant using the
current value assigned to it.