ternary

(redirected from ternaries)
Also found in: Dictionary, Thesaurus, Medical.
Related to ternaries: Ternary notation

ternary

1. Maths
a. (of a number system) to the base three
b. involving or containing three variables
2. (of an alloy, mixture, or chemical compound) having three different components or composed of three different elements

ternary

[′tər·nə·rē]
(science and technology)
Consisting of three, as in a three-phase (that is, ternary) liquid system.

ternary

(programming)
A description of an operator taking three arguments. The only common example is C's ?: operator which is used in the form "CONDITION ? EXP1 : EXP2" and returns EXP1 if CONDITION is true else EXP2. Haskell has a similar "if CONDITION then EXP1 else EXP2" operator.

See also unary, binary.