Equals (computing)


Equals (computing)

Equals (=), in computing, is a symbol that is used in several programming languages.

Names

The equals sign is ASCII character 61, and has multiple names that are commonly used. These include "ITU-T", "equals", "gets", and "takes". Although less commonly used, "quadrathorpe", "INTERCAL", and "half-mesh" are acceptable.

Programming

The equal sign is used in many programming languages, such as BASIC and C as the assignment operator.

Other languages, such as Ada and Pascal, use variants such as := ("becomes equal to") to avoid upsetting mathematicians with statements such as "x = x+1" (and to avoid common typos in comparisons that can happen in languages that consider assignment to be an operator that may be used anywhere in an expression. e.g., the = – = confusion in C). In these languages the := is "not" considered an operator and may only occur between the variable and the expression of the assignment.

This sign is also used by itself, and in compounds such as <=, >=, =, /=, != for various relational operators, and in C's +=, *= etc. which mimic the primitive operations of two-address code.

Operators

Many languages have different equality predicates, operators which test the equality of values. For instance, Perl has the numerical equality operator = and the string equality operator eq.

Equality is a property of values, not objects. An operator which asks if two variables refer to the same data object is an "identity" predicate, such as Python's is or Common Lisp's EQ.

ee also

* Character (computing)


Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Equals (disambiguation) — Equals may refer to: *Equals (computing), an operator used in computer languages *Equals sign, a mathematical symbol *The Equals, a British fusion music band formed in 1965 See also *Equality (mathematics) …   Wikipedia

  • Computing Machinery and Intelligence — Computing Machinery and Intelligence, written by Alan Turing and published in 1950 in Mind, is a seminal paper on the topic of artificial intelligence in which the concept of what is now known as the Turing test was introduced to a wide audience …   Wikipedia

  • List of computing topics — Originally, the word computing was synonymous with counting and calculating, and the science and technology of mathematical calculations. Today, computing means using computers and other computing machines. It includes their operation and usage,… …   Wikipedia

  • Less-than sign — Computing= The less than sign (>) is an original ASCII charater (hex 3C, decimal 60).Angle bracketsThe less than sign is used for an approximation of the opening angle bracket ( #x27E9;). ASCII does not have angle brackets.Programming languageIn… …   Wikipedia

  • Net capital rule — The uniform net capital rule is a rule created by the U.S. Securities and Exchange Commission ( SEC ) in 1975 to regulate directly the ability of broker dealers to meet their financial obligations to customers and other creditors.[1] Broker… …   Wikipedia

  • Matrix (mathematics) — Specific elements of a matrix are often denoted by a variable with two subscripts. For instance, a2,1 represents the element at the second row and first column of a matrix A. In mathematics, a matrix (plural matrices, or less commonly matrixes)… …   Wikipedia

  • Triangle — This article is about the basic geometric shape. For other uses, see Triangle (disambiguation). Isosceles and Acute Triangle redirect here. For the trapezoid, see Isosceles trapezoid. For The Welcome to Paradox episode, see List of Welcome to… …   Wikipedia

  • Chain rule — For other uses, see Chain rule (disambiguation). Topics in Calculus Fundamental theorem Limits of functions Continuity Mean value theorem Differential calculus  Derivative Change of variables Implicit differentiation …   Wikipedia

  • Slide rule — For other uses, see Slide rule (disambiguation). A typical ten inch student slide rule (Pickett N902 T simplex trig). The slide rule, also known colloquially as a slipstick,[1] is a mechanical analog computer. The slide rule is used primarily for …   Wikipedia

  • Tutte polynomial — This article is about the Tutte polynomial of a graph. For the Tutte polynomial of a matroid, see Matroid. The polynomial x4 + x3 + x2y is the Tutte polynomial of the Bull graph. The red line shows the intersection with the plane …   Wikipedia


Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.