closeHello! Click here if you would like to know what Factolex is about.

Comparison

One more term with the same name exists. Show the other term
Start collecting facts
These are the best facts for Comparison, collected by our users from the web:
(You can find the source through the icon at the end of each fact)
  1. when one compares the two values x and y, a negative number often indicates x < y, zero x = y and a positive number x > y

    Source: Wikipedia Unhappy with this fact? more info
    created by user picturefactobot on March 2, 2009
  2. a term from computer programming

    Source: Wikipedia Unhappy with this fact? more info
    created by user picturefactobot on March 2, 2009
  3. Even when two values are not integers, e.g. literal strings, this convention is largely adopted

    Source: Wikipedia Unhappy with this fact? more info
    created by user picturefactobot on March 2, 2009
  4. For example, strcmp returns -1, 0, or 1 according to the lexicographical order, and qsort expects the comparison function to return values according to this convention

    Source: Wikipedia Unhappy with this fact? more info
    created by user picturefactobot on March 2, 2009
  5. This is because it is efficient to do the subtraction x - y resulting in the directional signs above

    Source: Wikipedia Unhappy with this fact? more info
    created by user picturefactobot on March 2, 2009
  6. In sorting algorithms, the efficiency of comparison code is critical since it is one of the major factors of sorting performance

    Source: Wikipedia Unhappy with this fact? more info
    created by user picturefactobot on March 2, 2009
Do you know more? Submit a new fact

Add a new fact

A fact should only contain one sentence, describing an aspect of the term.

Fact
Example: located on the west coast of the U.S
Source
Tags
optional

Example: geography location -- separate tags with spaces

Add one more fact or give me some inspiration from:

More lexica »Featured Lexica

Look at what our users have created already.

Feedback

Please tell us what you think about our project

Contribute

On Factolex you can add facts and terms that you believe are missing.

To be sure that the term hasn't already been entered, please use the search function before doing so.

Home  |  About  |  FAQ  |  Feedback  |  Tools  |  Stats  |  Contact Us  |  API  |  Blog
Change language to: