Share on Facebook Share on Twitter Email
Answers.com

casting

 
Dictionary: cast·ing   (kăs'tĭng) pronunciation
n.
    1. The act or process of making casts or molds.
    2. Something cast in a mold.
  1. The act of throwing a fishing line.
  2. Something cast off or out.
  3. The selection of actors or performers for the parts of a presentation.

Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics

Pouring of molten metal into a mold, where it solidifies into the shape of the mold. The process was well established in the Bronze Age, when it was used to form bronze pieces now found in museums. It is particularly valuable for the economical production of complex shapes, ranging from mass-produced parts for automobiles to one-of-a – kind production of statues, jewelry, or massive machinery. Most steel and iron castings (see cast iron) are poured into silica sand. For metals of lower melting point, such as aluminum or zinc, molds can be made of another metal or of sand. See also die casting, founding, investment casting, lost-wax casting, patternmaking.

For more information on casting, visit Britannica.com.

Dental Dictionary: casting
Top

n

1. a metallic object formed in a mold. 2. forming a casting in a mold.


[De]

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.

 
casting or founding, shaping of metal by melting and pouring into a mold. Most castings, especially large ones, are made in sand molds. Sand, mixed with a binder to hold it together, is pressed around a wooden pattern that leaves a cavity in the sand. Molten metal is poured into the cavity and allowed to solidify. Permanent metal molds are used to make many small, simple parts; shell molding gives greater accuracy for a large volume of semiprecision parts. A two-step process, investment casting, produces small, complex shapes. Wax or plastic replicas of the parts are molded in accurate metal molds. These replicas are covered with sand in a box to make the final mold. When the whole mold is heated, the replica melts, leaving behind a cavity into which metal is poured. Large numbers of small, precise parts of metals that have a low melting point, such as zinc, are made by die-casting; in an automatic process, molten metal is forced under pressure into metal molds. Cast iron and cast steel are more brittle than forged iron and forged steel (see forging).


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.

  • c. bed — the area designated for a cast animal to fall. It is usually cushioned with straw or, in the case of a permanent facility, rubber or other synthetic padding.
  • Burley c. method — one that uses a rope centered over the shoulders, crossed between the front legs, crossed over the back and then passed between the hindlegs, avoiding the scrotum or udder and with traction backwards. Used in cattle.
  • half hitches c. method — suitable only for cattle; a non-slip knot is applied around the neck and half-hitches are placed behind the front legs and around the flanks. Traction is applied backwards.
  • c. harness — an arrangement of leather or webbing straps, ropes and rings is applied to the hindlegs below the pasterns with ropes running forward through a shoulder harness. Traction on the ropes pulls the legs forward and the horse falls to one side. The ropes are used to tie the legs in a convenient position. Not suitable for use with cattle.
  • c. pen — used at abattoirs to restrain animals that are to be slaughtered according to the Jewish law. It is a restraint cage or cradle which enables the operator to tip the animal onto its back so that it can be slaughtered while it is still conscious.
Wikipedia: Type conversion
Top

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

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

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

Using Casting

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.

checked 
Before the conversion is performed, a runtime check is done to see if the destination type can hold the source value. If not, an error condition is raised.
unchecked 
No check is performed. If the destination type cannot hold the source value, the result is undefined.
bit pattern 
The raw bit representation of the source is copied verbatim, and it is re-interpreted according to the destination type. This can also be achieved via aliasing.

In object-oriented programming languages, objects can also be downcasted : a reference of a base class is casted to one of its derived classes.

Using Overloaded object constructor

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

See also

Wikibooks
Wikibooks' Transwiki has more about this subject:

External links


Translations: Casting
Top

Dansk (Danish)
n. - kasten, afstøbning, støbning, ham, rollebesætning

idioms:

  • casting vote    afgørende stemme

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:

  • casting vote    voix prépondérante

Deutsch (German)
n. - Rollenbesetzung, Gußstück, Abguß

idioms:

  • casting vote    ausschlaggebende Stimme

Ελληνική (Greek)
n. - ρίψη, ρίξιμο, εκσφενδόνιση, χύτευση, χύσιμο μετάλλου, μήτρα, τύπος, χυτό τεμάχιο, διανομή ρόλων, ρίξιμο πετονιάς

idioms:

  • casting vote    καθοριστική/βαρύνουσα ψήφος

Italiano (Italian)
complesso degli attori, distribuzione delle parti, getto, getto dell'amo, gettata, fusione, colata

idioms:

  • casting vote    voto decisivo

Português (Portuguese)
n. - lance (m), fundição (f), distribuição (f) de papéis (Teat.)

idioms:

  • casting vote    voto de decisão

Русский (Russian)
отливка, распределение ролей

idioms:

  • casting vote    решающий голос

Español (Spanish)
n. - pieza fundida, vaciado, colada

idioms:

  • casting vote    voto de calidad o del presidente, voto decisivo

Svenska (Swedish)
n. - gjutning, kastning, rollfördelning

中文(简体)(Chinese (Simplified))
投掷, 角色, 铸成品

idioms:

  • casting vote    决定性的一票

中文(繁體)(Chinese (Traditional))
n. - 投擲, 角色, 鑄成品

idioms:

  • casting vote    決定性的一票

한국어 (Korean)
n. - 주조, 던지기, 계산 , 배역

日本語 (Japanese)
n. - 投げること, キャスティング, 鋳造, 配役

idioms:

  • casting vote    決定票

العربيه (Arabic)
‏(الاسم) سبيكه, قطعه مصبوبه‏

עברית (Hebrew)
n. - ‮יציקה, השלכה, עיצוב‬


 
 
Learn More
vacuum casting
egestion
cast steel (metallurgy)

What is a castes? Read answer...
What are castes? Read answer...
How do you cast on? Read answer...

Help us answer these
Quija cast quija cast?
Cast of the killewho was the cast of the killersrs?
What are the four castes of the caste system?

Post a question - any question - to the WikiAnswers community:

 

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