Assertion: way comparison | /r/CapableOf | take two values
Facets:
value: in computer science
type: OTHER
Source sentences:
text: In computer science, a three-way comparison takes two values A and B belonging to a type with a total order and determines whether A < B, A = B, or A > B in a single operation, in accordance with the mathematical law of trichotomy.