Anglais

integer

gb/ˈɪntəd͡ʒɚ/ us/ˈɪntəd͡ʒɚ/
B2 Anglais
~ 5300
Sens
0 sens
Nom technical B2 quantity
1

whole number in mathematics

A whole number without any decimal or fraction, like −2, 0, 5, or 100.

Schéma d’usage : an integer between [number] and [number]
Erreur fréquente :
Learners sometimes think that decimals like 3.5 or fractions like 1/2 are integers. Integers are only whole numbers (…−2, −1, 0, 1, 2…). Learners may also confuse “integer” with the more general word “number”, which includes fractions and decimals.
Synonymes
whole number (More common in everyday English and school math; less formal and technical than “integer”.)
Antonymes
fraction (A fraction represents part of a whole, while an integer is a complete whole number.)
Collocations
positive integer |negative integer |even integer |odd integer |random integer |integer value
Thèmes
mathematics |education |science
Exemples
  • Zero is an integer, even though it is neither positive nor negative.
  • The function only accepts an integer as its input parameter.
  • Write an example of an integer that is greater than 10 but less than 20.
  • The teacher asked us to list all the integers between −5 and 5.
  • In this exercise, you must round the result to the nearest integer.
Exemples pédagogiques
  • Five is an integer.
  • Minus three is an integer.
  • This program needs an integer, not a decimal number.
  • Please choose an integer from one to ten.
  • Zero is also an integer.
Nom technical C1 entity
2

whole-number data type in computing

In computer programs, a kind of value that can store whole numbers only, not decimals.

Schéma d’usage : an integer variable that stores [number]
Erreur fréquente :
Learners sometimes confuse the mathematical meaning of “integer” with the programming data type and may not realize that different programming languages limit the size of an integer, which can cause errors like integer overflow.
Synonymes
int (Common abbreviation and type name in many programming languages; informal shorthand for “integer”.)
Antonymes
string (In programming, a string stores text, which contrasts with an integer that stores numeric whole values.)
Collocations
integer variable |integer type |32-bit integer |integer field |integer overflow |integer value
Thèmes
technology |programming |computer science
Exemples
  • Use an integer variable to count the number of users who log in.
  • In this database, the user ID is stored as an integer.
  • Because of integer overflow, the result wrapped around to a negative value.
  • You should convert the input text to an integer before doing any calculations.
  • The function returns an integer representing the status code.
Exemples pédagogiques
  • This code uses an integer to store the age.
  • Please change this field from text to integer.
  • The program crashes when the integer is too large.
  • We save the score as an integer in the game.
  • The function takes two integers and adds them.
Grammaire
Forme canonique
integer
API
GB/ˈɪntəd͡ʒɚ/
US/ˈɪntəd͡ʒɚ/
Syllabes et accentuation
in - teger (2 syllabes)
Stress on 1st syllable (in)
Formes du mot
Noun
  • Base: integer
  • Plural: integers
Famille de mots
Forms
integers noun
Core family
integral adjective B2 integrate verb B2 integration noun B2
Related words
integrity noun B2
Negative and opposite forms
non-integer adjective
Advanced or less common
integrable adjective
Expressions

integer division

1
/ˈɪntəd͡ʒɚ dɪvˈɪʒən/
fixed phrase technical

division that discards the remainder

A kind of division in math or programming where you keep only the whole-number answer and throw away the remainder or decimal part.

Exemples
  • In this language, the operator performs integer division, not normal division.
  • Integer division of 7 by 3 gives 2, with a remainder of 1.

integer overflow

1
/ˈɪntəd͡ʒɚ ˈoʊvɚfloʊ/
fixed phrase technical

integer value goes beyond its range

A problem in a computer program when an integer becomes too big or too small to store, causing a wrong value or error.

Exemples
  • The bug was caused by integer overflow when the counter passed two billion.
  • To avoid integer overflow, we switched to a 64-bit integer type.

integer part

1
/ˈɪntəd͡ʒɚ pˈɑɹt/
fixed phrase technical

whole-number portion of a value

The whole-number part of a number, without the decimal or fraction.

Exemples
  • The integer part of 5.9 is 5.
  • Separate the integer part from the decimal part before rounding.

integer programming

1
/ˈɪntəd͡ʒɚ pɹˈoʊɡɹˌæmɪŋ/
fixed phrase technical

optimization with integer-only variables

A type of math problem in operations research where some or all choices must be whole numbers, not fractions.

Exemples
  • They used integer programming to optimize the delivery routes.
  • Integer programming problems are often harder to solve than linear ones.

signed integer

1
/sˈaɪnd ˈɪntəd͡ʒɚ/
fixed phrase technical

integer that can be negative or positive

An integer type in a computer that can store both negative and positive whole numbers.

Exemples
  • Use a signed integer for temperatures, since they can be below zero.
  • By default, this language treats the type as a signed integer.

unsigned integer

1
/ʌnsˈaɪnd ˈɪntəd͡ʒɚ/
fixed phrase technical

integer that cannot be negative

An integer number or type that allows only zero and positive values, not negative ones.

Exemples
  • An unsigned integer is enough for counting the number of items.
  • Array indices are usually stored as an unsigned integer.
  • We changed the field to an unsigned integer to double the maximum value.
  • The variable is defined as an unsigned integer to avoid negative results.
  • This field expects an unsigned integer in the configuration file.

Bon retour parmi nous !

Connectez-vous pour continuer

Mot de passe oublié ?
Vous n’avez pas de compte ? S’inscrire