numeric promotion

From Wiktionary, the free dictionary
Jump to navigation Jump to search

English[edit]

Noun[edit]

numeric promotion (plural numeric promotions)

  1. (programming) The conversion of a numeric data type into one that can hold more information. For example, the conversion of a long into a double.
    • 2000, James Gosling, The Java Language Specification, page 78:
      Numeric promotion is not a general feature of the Java programming language, but rather a property of the specific definitions of the built-in operations.