- 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.
|
Results for casting
|
On this page:
|
For more information on casting, visit Britannica.com.
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.
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.
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.
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 int and type single which return false if compared for equality.
There are several kinds of explicit conversion.
Each programming language has its own rules on how types can be converted. In general, both objects and fundamental data types can be converted.
In [[C++]] the static_cast operator changes expressions of one static type to objects and values of another static type.
static_cast<type> (object);
The type parameter must be a data type for which there is a known method for converting object to, whether this be a builtin or through a casting function. It can be a reference or an enumerator.
The static_cast operator can be used for operations such as
However, static_cast conversions are not necessarily safe as no run-time type check is done which can cause casting between incompatible data types, for example pointers. However, this is checked at compile time to prevent casting obviously incompatibles. Also, sometimes static_cast between pointer to base to pointer to derived will produce an erroneous result, because of the object layout model.
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
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.
| Casting Resin | Shimano Casting Rods |
| casting crowns | Steelhead Casting Reels |
Join the WikiAnswers Q&A community. Post a question or answer questions about "casting" at WikiAnswers.
Copyrights:
![]() | Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2007. Published by Houghton Mifflin Company. All rights reserved. Read more | |
![]() | Dental Dictionary. Mosby's Dental Dictionary. Copyright © 2004 by Elsevier, Inc. All rights reserved. Read more | |
![]() | Britannica Concise Encyclopedia. Britannica Concise Encyclopedia. © 2006 Encyclopædia Britannica, 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 GNU Free Documentation 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: