EQV: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
(Created page with "The EQV operator returns a value based on the ''equivalence'' of two conditions or values. {{PageSyntax}} : {{Parameter|result}} = {{Parameter|firstValue}} EQV {{Parameter|secondValue}} {{PageDescription}} * Returns true (-1) when both values are the same (''equivalent''). * Turns a bit on if both bits are the same, turns a bit off if both bits are different. {{Template:LogicalTruthTable}} {{PageSeeAlso}} * Binary * Boolean {{PageNavigation}}") |
No edit summary |
||
Line 11: | Line 11: | ||
{{ | {{LogicalTruthTable}} | ||
Revision as of 12:41, 5 June 2022
The EQV operator returns a value based on the equivalence of two conditions or values.
Syntax
- result = firstValue EQV secondValue
Description
- Returns true (-1) when both values are the same (equivalent).
- Turns a bit on if both bits are the same, turns a bit off if both bits are different.
See also