Printer Friendly
The Free Dictionary
982,786,614 visitors served.
?
Dictionary/
thesaurus
Medical
dictionary
Legal
dictionary
Financial
dictionary
Acronyms
 
Idioms
Encyclopedia
Wikipedia
encyclopedia
?

precedence

   Also found in: Dictionary/thesaurus, Legal, Financial, Acronyms, Wikipedia, Hutchinson 0.01 sec.

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

(fahrenheit-32)*5/9

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") 


precedence - operator precedence

?Page tools
Printer friendly
Cite / link
Email
Feedback
? Mentioned in ? References in classic literature
 
Gilmore returned to us a year later he assisted the design of these pages, at my request, by writing the Narrative which appears early in the story under his name, and which, though first in order of precedence, was thus, in order of time, the last that I received.
Cadwallader was strong on the intended creation of peers: she had it for certain from her cousin that Truberry had gone over to the other side entirely at the instigation of his wife, who had scented peerages in the air from the very first introduction of the Reform question, and would sign her soul away to take precedence of her younger sister, who had married a baronet.
The Knight of the White Moon replied that it was a question of precedence of beauty; and briefly told him what he had said to Don Quixote, and how the conditions of the defiance agreed upon on both sides had been accepted.
 
Encyclopedia browser? ? Full browser
 
 
Encyclopedia
?

Disclaimer | Privacy policy | Feedback | Copyright © 2008 Farlex, Inc.
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional. Terms of Use.