Passer au contenu

Floating-point numbers

Introduit
Fiche de cours
Leçon vidéo pour ce sujet Ouvrir la page vidéo
15:07

Types de données définis par l'utilisateur

Un champ chaîne simple stockera volontiers des nonsens. Demandez un type de véhicule, et quelqu'un tape Bananes — le programme l'accepte sans murmurer. Mais si vous…

Narration en anglais · sous-titres en anglais et en 中文 au choix

Dans cette leçon

Leçon vidéo
Vocabulaire
English Sens
binary representationA way of showing a number using only the digits zero and one.
repeating fractionA fraction whose digits continue forever in a repeating pattern.
truncated/ˈtrʌŋkeɪtɪd/Describes a number shortened by removing digits without rounding.
register'sBelonging to a small storage location inside the processor.
accumulated errorThe total difference from the correct value after small errors build up.
floating-point/ˈfləʊtɪŋ pɔɪnt/virgule flottante
normalisation/ˌnɔːməlaɪˈzeɪʃn/The process of adjusting a mantissa and exponent to use available bits efficiently.
approximation errorsDifferences between exact values and the close values used to represent them.
real numbersAll numbers that can be placed on a continuous number line.
scientific notationA way to write a number as a value multiplied by a power of ten.
fields/fiːldz/Parts of a database record that each hold one item of data.
mantissa/mænˈtɪsə/mantisse
significant digitsDigits that give useful information about the precision of a number.
exponent/ekˈspəʊnənt/exposant
two's complement/tuːz ˈkɒmplɪmənt/A signed binary integer representation in which a negative value is formed by inverting the positive value's bits and adding one within a fixed bit width.
binary fractionA number with binary digits after a binary point.
bit/bɪt/A binary digit, taking the value zero or one.
denary/ˈdiːnəri/The base-ten number system, using the digits zero through nine.
sign bit/saɪn bɪt/The bit in a signed-number representation that indicates or contributes the number's sign.
normalised/ˈnɔːməlaɪzd/normalisé
significant bitA bit that gives useful information about the value of a number.
binary pointThe point separating whole-number bits from fractional bits in a binary number.
leading zerosZeros placed before the first non-zero digit to give a number the required width.
maximises precisionMakes a stored value as exact as the available bits allow.
precision/prɪˈsɪʒn/précision
range/reɪndʒ/The set of values that can be represented in a given format.
Rounding errors/ˈraʊndɪŋ ˈerəz/Differences caused by replacing exact values with nearby values that can be stored.
fixed-point/fɪkst pɔɪnt/virgule fixe
BCD/ˌbiː siː ˈdiː/A way of storing each denary digit separately using four binary digits.
Overflow/ˌəʊvəˈfləʊ/The condition when a result is too large in magnitude to be represented.
Underflow/ˌʌndəˈfləʊ/The condition when a nonzero result is too close to zero to be represented.
integer/ˈɪntɪdʒə/A whole number that may be positive, negative or zero.
tolerance/ˈtɒlərəns/The largest acceptable difference when comparing two values for near equality.

Fiche de cours

IGCSE, A-Level & AP