-1
$\begingroup$

I actually want to perform bitwise not operating in normal calculation mode in my Casio fx-991 ex.

I want a formula which consists of one variable, which can be assigned with either $0$ or $1$. The formula's result should be $0$ if the variable is assigned with $1$ and should result in $1$ if the variable is assigned with $0$.

$\endgroup$
  • $\begingroup$ $f(x)=1-x$ works. This doesn't have much to do with bitwise not, though. $\endgroup$ – saulspatz Nov 10 '18 at 16:55
  • $\begingroup$ woah that was so simple...! thanks a lot. put that as answer. $\endgroup$ – Shaikh Amaan FM Nov 10 '18 at 17:12
0
$\begingroup$

$f(x)=1−x$ works. This doesn't have much to do with bitwise not, though.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.