Inglés

integer

gb/ˈɪntəd͡ʒɚ/ us/ˈɪntəd͡ʒɚ/
B2 Inglés
~ 5300
Acepciones
0 acepciones
Sustantivo technical B2 quantity
1

whole number in mathematics

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

Patrón de uso: an integer between [number] and [number]
Error frecuente:
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.
Sinónimos
whole number (More common in everyday English and school math; less formal and technical than “integer”.)
Antónimos
fraction (A fraction represents part of a whole, while an integer is a complete whole number.)
Colocaciones
positive integer |negative integer |even integer |odd integer |random integer |integer value
Temas
mathematics |education |science
Ejemplos
  • 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.
Ejemplos para estudiantes
  • 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.
Sustantivo 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.

Patrón de uso: an integer variable that stores [number]
Error frecuente:
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.
Sinónimos
int (Common abbreviation and type name in many programming languages; informal shorthand for “integer”.)
Antónimos
string (In programming, a string stores text, which contrasts with an integer that stores numeric whole values.)
Colocaciones
integer variable |integer type |32-bit integer |integer field |integer overflow |integer value
Temas
technology |programming |computer science
Ejemplos
  • 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.
Ejemplos para estudiantes
  • 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.
Gramática
Forma de diccionario
integer
AFI
GB/ˈɪntəd͡ʒɚ/
US/ˈɪntəd͡ʒɚ/
Sílabas y acento
in - teger (2 sílabas)
Stress on 1st syllable (in)
Formas de la palabra
Noun
  • Base: integer
  • Plural: integers
Familia de palabras
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
Expresiones

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.

Ejemplos
  • 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.

Ejemplos
  • 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.

Ejemplos
  • 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.

Ejemplos
  • 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.

Ejemplos
  • 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.

Ejemplos
  • 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.

¡Qué gusto verte de nuevo!

Inicia sesión para continuar

¿No tienes una cuenta? Crear cuenta