3

Question says it all, I'm looking for a Hypernym that groups ">" and "<" and perhaps similar logical comparators (">=") into a word. I'm not sure if "logical comparator" is even a valid term, and using it doesn't feel great either.

  • 1
    Your term comparisons seems to work as the hypernym you're looking for. – Lawrence Dec 15 '17 at 15:59
  • 2
    They are called relational operators. – Mick Dec 15 '17 at 16:15
  • Thanks @Mick, if you make your comment into an answer I'll mark it as solved :) – Fluxilis Dec 15 '17 at 19:17
  • The specific relationship is ordering. – jxh Dec 16 '17 at 2:01
1

These are known as relational operators.

In computer science, a relational operator is a programming language construct or operator that tests or defines some kind of relation between two entities. These include numerical equality (e.g., 5 = 5) and inequalities (e.g., 4 ≥ 3).

In programming languages that include a distinct boolean data type in their type system, like Pascal, Ada, or Java, these operators usually evaluate to true or false, depending on if the conditional relationship between the two operands holds or not. In languages such as C, relational operators return the integers 0 or 1, where 0 stands for false and any non-zero value stands for true.

An expression created using a relational operator forms what is termed a relational expression or a condition. Relational operators can be seen as special cases of logical predicates.

Wikipedia: Relational operator

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.