Ternary logic: Difference between revisions
→{{header|RPL}}: add ternary constants
(add RPL) |
(→{{header|RPL}}: add ternary constants) |
||
Line 5,665:
{{works with|Halcyon Calc|4.2.7}}
≪ 2 * CEIL 1 + { ‘FALSE’ ‘MAYBE’ ‘TRUE’ } SWAP GET ≫ ''''TELL'''’ STO
1 ''''TRUE'''' STO 0.5 ''''MAYBE'''' STO 0 ''''FALSE'''' STO
FALSE MAYBE '''TXOR'''
|