Chuyển bộ gõ


Từ điển Máy Tính - Foldoc Dictionary
coercion



implicit type conversion

(programming)   (Or "coercion") The abilty of some compilers to automatically insert type conversion functions where an expression of one type is used in a context where another type is expected.

A common example is coercion of integers to reals so that an expression like sin(1) is compiled as sin(integerToReal(1)) where sin is of type Real -> Real.

A coercion is usually performed automatically by the compiler whereas a cast is an explicit type conversion inserted by the programmer.

See also subtype.

Last updated: 1997-07-28



Related search result for "coercion"

Giới thiệu VNDIC.net | Plugin từ diển cho Firefox | Từ điển cho Toolbar IE | Tra cứu nhanh cho IE | Vndic bookmarklet | Học từ vựng | Vndic trên web của bạn

© Copyright 2006-2024 VNDIC.NET & VDICT.CO all rights reserved.