Template:unsupportedpage
Translingual
Symbol
{ }
- (mathematics) Encloses a mathematical phrase which has increased operator precedence.
- 10/2+3 = 5+3 = 8
- 10/{2+3} = 10/5 = 2
- (mathematics) Indicates the fractional part.
- {3.14} = 0.14
- (set theory) Encloses a set.
- Set of positive divisors of 6 = {1, 2, 3}.
- The set of even numbers can be written as { n ∊ ℤ : ∃ k ∊ ℤ: n = 2k } .
- (set theory) Empty set.
- Set of natural numbers between 2 and 3 = { }.
- (programming) Used in some programming languages, especially C-type languages.
- Encloses the body of a function.
doSomethingTwice () { return doSomething () + doSomething () }
- Encloses each branch of a conditional.
if (x>4) { result = "congratulations!" }
- (mathematical precedence) ( ), [ ]
Punctuation mark
{ }
- Encloses a series of equal choices.
- Select your animal {goat, sheep, cow, horse} and follow me.
- (papyrology, epigraphy) Encloses writing by the original scribe that the editor considers erroneous.
Usage notes
In English, this symbol is called curly brackets or braces.
See also