Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

implicit type conversion

You are here: irt.org | FOLDOC | 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.

(1997-07-28)

Nearby terms: IMPlementation language « implication « implicit parallelism « implicit type conversion » implies » imply » import

FOLDOC, Topics, A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z, ?, ALL

©2018 Martin Webb