Also found in: Dictionary, Thesaurus, Medical, Legal, Financial, Acronyms, Idioms, Wikipedia.
Related to precedence: Precedence Effect


(computer science)
The order in which operators are processed in a programming language.
McGraw-Hill Dictionary of Scientific & Technical Terms, 6E, Copyright © 2003 by The McGraw-Hill Companies, Inc.


operator precedence
This article is provided by FOLDOC - Free Online Dictionary of Computing (


The order in which an expression is processed. Mathematical precedence is normally:

1. unary + and - signs
2. exponentiation
3. multiplication and division
4. addition and subtraction

In order to properly compute the formula that converts Fahrenheit to Celsius, which is fahrenheit-32*5/9, the expression


must be used with parentheses separating the fahrenheit-32 from the multiplication. Since multiplication is evaluated before subtraction, 32 would be multiplied by 5 first, which is not what is wanted.

Logical precedence is normally:

1. NOT
2. AND
3. OR

In the dBASE query:
list for item = "TIE" .and. color = "GRAY" .or. color = "RED"

all gray ties and anything red will be selected, since ANDs are evaluated before ORs. Grouping the colors in parentheses as in the example below yields only gray and red ties.
(color="GRAY" .or. color="RED")
Copyright © 1981-2019 by The Computer Language Company Inc. All Rights reserved. THIS DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher.
References in periodicals archive ?
Although TSP with precedence constraints, as a special case of TSP, is known to be NP-complete (Garey and Johnson [2]), whether or not TSPP-PC is NP-complete is unknown in literature.
Your objection to age precedence is that it interferes with your illusion that you are passing for younger than you are.
To support his opinion, the AG has said there is no precedence where a party was given the LoP position -- the status of a Cabinet minister -- without meeting the criteria of 10 per cent seats since the days of first Lok Sabha when G.
The Federal National Council (FNC) decried in a statement today the planned trip to UAE three islands - Abu Musa and the Greater and Lesser Tunbs - as a provocative step, dangerous precedence, and it violates the UAE sovereignty and contradicts all efforts aimed at finding a peaceful settlement to end the Iranian occupation of the UAE islands.
Those buying property should be aware that a contract of sale will only be granted precedence over a pre-existing mortgage if the mortgage lender is paid the amount of the mortgaged debt attributable to the property they are purchasing.
Illo finished a highly promising third to last year's Cup winner Americain on his Aussie debut nine days ago and looks very much the stable's first string - as Precedence, not disgraced when eighth in last year's race, has been out of form since.
The lack of official clarification of warrant officer precedence in Army regulations sets a stage for inconsistent treatment of warrant officers from one installation to the next.
Critics said the switch would enable Coun Whitby to take precedence over the Lord Mayor at almost any event, although the claim was hotly denied by the council leader.
OKI Printing Solutions and its UAE distributor Utmost Electronics have signed an agreement to make Precedence Infotech the preferred partner for OKI XF products targeting the UAECOs thriving high end graphics market.
In recent years, a question that has plagued both contracting officials and small businesses is how to interpret the Federal Acquisition Regulation with regard to determining the order of precedence for contract awards to small businesses, HUBZone small businesses, service-disabled veteran-owned small businesses (SDVOSB) and small businesses participating in the 8(a) Business Development Program.
Order relations between phases reflect technologically, real development of the process and are called relation of precedence. Mathematically, they form an acyclic digraph (James, 2000).