- The act or process of making casts or molds.
- Something cast in a mold.
- The act of throwing a fishing line.
- Something cast off or out.
- The selection of actors or performers for the parts of a presentation.
Dictionary:
cast·ing (kăs'tĭng) ![]() |
| 5min Related Video: casting |
| Britannica Concise Encyclopedia: casting |
For more information on casting, visit Britannica.com.
| Dental Dictionary: casting |
1. a metallic object formed in a mold. 2. forming a casting in a mold.
| Archaeology Dictionary: casting |
The process whereby objects are made from a thermo-setting molten material poured into a former or mould of some kind. In metalworking, casting usually involves the use of a sand, clay, or stone mould into which molten metal is poured to produce an object. Some care has to be taken, however, because metal melted over a fire absorbs gases from the combustion of the fuel and any moulds used thus have to be designed to ensure that bubbles of gas are not trapped to spoil the casting.
| Columbia Encyclopedia: casting |
| Veterinary Dictionary: casting |
The technique of using a rope or a special harness designed for the purpose to make an animal fall to the ground or onto a specially prepared area. Used for large animals especially horses and cattle.
| Wikipedia: Type conversion |
| It has been suggested that atoi and atof be merged into this article or section. (Discuss) |
In computer science, type conversion or typecasting refers to changing an entity of one data type into another. This is done to take advantage of certain features of type hierarchies. For instance, values from a more limited set, such as integers, can be stored in a more compact format and later converted to a different format enabling operations not previously possible, such as division with several decimal places' worth of accuracy. In object-oriented programming languages, type conversion allows programs to treat objects of one type as one of their ancestor types to simplify interacting with them.
There are two types of conversion: implicit and explicit. The term for implicit type conversion is coercion. The most common form of explicit type conversion is known as casting. Explicit type conversion can also be achieved with separately defined conversion routines such as an overloaded object constructor.
Each programming language has its own rules on how types can be converted. In general, both objects and fundamental data types can be converted.
Contents |
Implicit type conversion, also known as coercion, is an automatic type conversion by the compiler. Some languages allow, or even require, compilers to provide coercion.
In a mixed-type expression, data of one or more subtypes can be converted to a supertype as needed at runtime so that the program will run correctly. For example, the following is legal C language code:
double d; long l; int i; if (d > i) d = i; if (i > l) l = i; if (d == l) d *= 2;
Although d, l and i belong to different data types, they will be automatically converted to equal data types each time a comparison or assignment is executed. This behavior should be used with caution, as unintended consequences can arise. Data can be lost when floating-point representations are converted to integral representations as the fractional components of the floating-point values will be truncated (rounded down). Conversely, converting from an integral representation to a floating-point one can also lose precision, since the floating-point type may be unable to represent the integer exactly (for example, float might be an IEEE 754 single precision type, which cannot represent the integer 16777217 exactly, while a 32-bit integer type can). This can lead to situations such as storing the same integer value into two variables of type integer and type real which return false if compared for equality.
Explicit type conversion is a type conversion which is explicitly defined within a program (instead of being done by a compiler for implicit type conversion).
double da = 5.5; double db = 5.5; int result = static_cast<int>(da) + static_cast<int>(db); //Result would be equal to 10 instead of 11.
There are several kinds of explicit conversion.
In object-oriented programming languages, objects can also be downcasted : a reference of a base class is casted to one of its derived classes.
class Myclass { public: double myD; Myclass(double d) { myD = d; } } Myclass obj = Myclass(5.5); double d = obj; //here is the explicit type conversion //Result would be d = 5.5
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| Translations: Casting |
Dansk (Danish)
n. - kasten, afstøbning, støbning, ham, rollebesætning
idioms:
Nederlands (Dutch)
rolverdeling, gegoten vorm, het werpen (hengelsport)
Français (French)
n. - lancement, jet, pêche au lancer, coulée, (Métal) moulage, pièce (objet), (Art) moulage, (Cin, Théât, TV) distribution
idioms:
Deutsch (German)
n. - Rollenbesetzung, Gußstück, Abguß
idioms:
Ελληνική (Greek)
n. - ρίψη, ρίξιμο, εκσφενδόνιση, χύτευση, χύσιμο μετάλλου, μήτρα, τύπος, χυτό τεμάχιο, διανομή ρόλων, ρίξιμο πετονιάς
idioms:
Italiano (Italian)
complesso degli attori, distribuzione delle parti, getto, getto dell'amo, gettata, fusione, colata
idioms:
Português (Portuguese)
n. - lance (m), fundição (f), distribuição (f) de papéis (Teat.)
idioms:
Русский (Russian)
отливка, распределение ролей
idioms:
Español (Spanish)
n. - pieza fundida, vaciado, colada
idioms:
Svenska (Swedish)
n. - gjutning, kastning, rollfördelning
中文(简体)(Chinese (Simplified))
投掷, 角色, 铸成品
idioms:
中文(繁體)(Chinese (Traditional))
n. - 投擲, 角色, 鑄成品
idioms:
한국어 (Korean)
n. - 주조, 던지기, 계산 , 배역
日本語 (Japanese)
n. - 投げること, キャスティング, 鋳造, 配役
idioms:
العربيه (Arabic)
(الاسم) سبيكه, قطعه مصبوبه
עברית (Hebrew)
n. - יציקה, השלכה, עיצוב
If you are unable to view some languages clearly, click here.
To select your translation preferences click here.
| Shopping: casting |
| vacuum casting | |
| egestion | |
| cast steel (metallurgy) |
| How do you cast on? Read answer... | |
| How do you get a cast? Read answer... | |
| What is a caste? Read answer... |
| Quija cast quija cast? | |
| Cast of the killewho was the cast of the killersrs? | |
| Can a person can change his caste from scheduled caste to general caste? |
Copyrights:
![]() | Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved. Read more | |
![]() | Britannica Concise Encyclopedia. Britannica Concise Encyclopedia. © 2006 Encyclopædia Britannica, Inc. All rights reserved. Read more | |
![]() | Dental Dictionary. Mosby's Dental Dictionary. Copyright © 2004 by Elsevier, Inc. All rights reserved. Read more | |
![]() | Archaeology Dictionary. The Concise Oxford Dictionary of Archaeology. Copyright © 2002, 2003 by Oxford University Press. All rights reserved. Read more | |
![]() | Columbia Encyclopedia. The Columbia Electronic Encyclopedia, Sixth Edition Copyright © 2003, Columbia University Press. Licensed from Columbia University Press. All rights reserved. www.cc.columbia.edu/cu/cup/. Read more | |
![]() | Veterinary Dictionary. Saunders Comprehensive Veterinary Dictionary 3rd Edition. Copyright © 2007 by D.C. Blood, V.P. Studdert and C.C. Gay, Elsevier. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Type conversion". Read more | |
![]() | Translations. Copyright © 2007, WizCom Technologies Ltd. All rights reserved. Read more |
Mentioned in