Caret

Caret

Caret is the name for the symbol ^ in ASCII and some other character sets. Its Unicode code point is U+005E, and its ASCII code in hexadecimal is 5E. Strictly speaking, the caret character in common use is actually referred to in the Unicode standard as the "CIRCUMFLEX ACCENT"; the Unicode character named "CARET" is actually a distinct, much less common character, at code point U+2038 (unicode|‸). There is also a combining mark, U+0302 "COMBINING CIRCUMFLEX ACCENT", which is used when a circumflex accent is to be added as a diacritical mark to another letter. However, the term "caret" is most frequently used to refer to the first of these. Often it's spelled phonetically, Carat. It is also a mark used by an author or editor to indicate where something is to be inserted into a text.

Uses and history

The caret was originally used, and continues to be, in handwritten form as a proofreading mark to indicate where a punctuation mark, word or phrase should be inserted in a document. The term comes from the Latin "caret", "it lacks", from 'carēre', to lack; to be separated from; to be free from. The caret symbol is written below the line of text for a line-level punctuation mark such as a comma, or above for a higher character such as an apostrophe; the material to be inserted may be placed inside the caret, in the margin, or above the line.

The caret is also found on some typewriters, where it is used to denote a circumflex accent in languages which require it, such as French.

In statistics, the caret is used to denote an estimator or an estimated value, as opposed to its theoretical counterpart.

In mathematics and physics, a caret appearing above a letter indicates a unit vector (a dimensionless vector with a magnitude of 1), or an operator.

In mathematics, a caret can signify an exponent (3^5 for 3^5) where superscript is difficult or impossible (such as on some graphing calculators).

In mathematics, a caret placed above an element of a set can signify that that element has been removed from the set.

In programming languages the caret is used either to signify exponent, or to represent a bitwise XOR operator. The use of as exponent can be traced back to ALGOL 60, which expressed the exponentiation operator as an upward-pointing arrow, intended to evoke the superscript notation common in mathematics. The up-arrow character was codified as character 5E in the original 1963 version of the ASCII standard; however, this was a short-lived placement. The 1965 ECMA-6 standard replaced the up-arrow with the currently-used caret (and the left-arrow with the underscore); two years later, the second revision of ASCII followed suit, due to pressure from international standards committees requiring the character's presence as a diacritical mark (the circumflex). The caret is commonly used to signify control characters via caret notation.

In regular expressions the caret is used to mark the beginning of a string, or the beginning of a line within that string; if it begins a character class, it indicates that the inverse of the class is to be matched.

In logic the caret is used as a propositional operator to symbolize logical conjunction otherwise known as an "and" statement. e.g. pandq. Ideally, this wedge symbol is different from the caret, see .

Other meanings

The term "caret" is also sometimes used in graphical user interface terminology where it means a text insertion point indicator, frequently represented by a blinking vertical bar. In this context, it may be used interchangeably with the word cursor, although the latter term is often reserved for a mouse pointer.

ee also

* Circumflex
* Turned v

External links

* [http://www.wps.com/projects/codes/index.html#UP "ASCII: American Standard Code for Information Infiltration] by Tom Jennings
*


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • caret — CARÉT, careţi, s.m. Broască ţestoasă comestibilă din mările calde lungă de 60 80 cm, înotătoare, din a cărei carapace cornoasă se obţine bagaua (Eretmochelys imbricata). – Din fr. caret. Trimis de valeriu, 11.02.2003. Sursa: DEX 98  carét… …   Dicționar Român

  • caret — 1. (ka rè) s. m. Tortue des côtes de l Amérique, du Mexique, des côtes de la Guinée et de la mer des Indes, dont la chair est malsaine ; mais les oeufs en sont recherchés, et on travaille l écaille. SUPPLÉMENT AU DICTIONNAIRE 1. CARET. Ajoutez :… …   Dictionnaire de la Langue Française d'Émile Littré

  • Caret — Ca ret (k[=a] r[e^]t or k[a^]r [e^]t), n. [L. caret there is wanting, fr. carere to want.] A mark [^] used by writers and proof readers to indicate that something is interlined above, or inserted in the margin, which belongs in the place marked… …   The Collaborative International Dictionary of English

  • Caret — bezeichnet: Einen Zirkumflex in der Typografie Einen Tastatur Cursor im Computerbereich Siehe auch Caret Browsing Diese Seite ist eine Begriffsklärung zur Unterscheidung mehrerer mit demselb …   Deutsch Wikipedia

  • Caret — Ca ret , n. [F., a species of tortoise.] (Zo[ o]l.) The hawkbill turtle. See {Hawkbill}. [1913 Webster] …   The Collaborative International Dictionary of English

  • Caret —   [engl.], das Exponentialzeichen ^, bei Textverarbeitungsprogrammen, die keine hochgestellten Zeichen darstellen können, ein Vorzeichen vor einem Exponenten (z. B. cm^3 = cm3) …   Universal-Lexikon

  • caret — mascaret …   Dictionnaire des rimes

  • Caret — Le nom est surtout porté en Bretagne (56, 29). Il signifie bien aimé , surnom donné à une personne aimable …   Noms de famille

  • caret — mark in writing to show where something is to be inserted, 1680s, from L. there is lacking, 3rd person sing. indicative of carere to lack (see CASTE (Cf. caste)) …   Etymology dictionary

  • caret — ► NOUN ▪ a mark (^, ) placed below a line of text to indicate a proposed insertion. ORIGIN Latin, is lacking …   English terms dictionary

Share the article and excerpts

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