| dbpprop:abstract
|
- In computing, a fixed-point number representation is a real data type for a number that has a fixed number of digits after (and sometimes also before) the radix point (e.g. , after the decimal point '. ' in English decimal notation). Fixed-point number representation can be compared to the more complicated (and more computationally demanding) floating point number representation. Fixed-point numbers are useful for representing fractional values, usually in base 2 or base 10, when the executing processor has no floating point unit (FPU) or if fixed-point provides improved performance or accuracy for the application at hand. Most low-cost embedded microprocessors and microcontrollers do not have an FPU.
- Eine Festkommazahl ist eine Zahl, die aus einer festen Anzahl von Ziffern besteht. Die Position des Dezimalkommas ist dabei fest vorgegeben, daher der Name. Der Grundgedanke hinter Festkommazahlen ist die exakte Darstellung ohne Rundungsfehler eines Ausschnitts der rationalen Zahlen. Üblicherweise sind per Definition die ersten <math>n \leq k</math> Stellen Vorkommastellen und die restlichen <math>m = k - n</math> Nachkommastellen. Aufgrund der exakten Darstellung sind die Wertebereiche aller Festkommazahlen jeweils kleiner als der jeweilige Wertebereich einer Gleitkommazahl derselben Länge.
- Es la representació de nombres reals mitjançant un sistema numèric posicional. Serà la posició de la coma la que ens indiqui la potència de la base per la qual hem de multiplicar el dígit corresponent.
- La representación anterior recibe el nombre de coma fija, ya que con los 8 bits hemos fijado y reservado 5 para la parte entera y 3 para la fraccionaria. En los anteriores ejemplos la coma está fija y sirve para separar la parte entera de la parte fraccionaria. Al usar la notación en coma fija, queda muy limitado el número de cantidades a representar y todas ellas deben tener la misma resolución. En el caso anterior no podremos representar números enteros mayores o iguales que 32 (2) ni números más pequeños que 0,125 (2). Debido a este problema, su uso se vio reducido con la aparición de la representación en coma flotante.
- En informatique, une représentation d'un nombre en virgule fixe est un type de donnée correspondant à un nombre qui possède un nombre fixe de chiffres après la virgule. Les nombres en virgule fixe sont utiles pour représenter des quantités fractionnaires dans un format utilisant le complément à deux quand le processeur de l'ordinateur n'a aucune unité de calcul en virgule flottante ou quand une virgule fixe permet d'augmenter la vitesse d'exécution ou d'améliorer l'exactitude des calculs. La plupart des processeurs à faible coût ne disposent pas d'unité de calcul en virgule flottante. Les bits à gauche de la virgule représentent la partie entière du nombre (au vrai sens du terme), c'est-à-dire l'entier se trouvant à gauche de la virgule. Chaque bit à droite de la virgule, ou « décimale binaire », correspond à l'inverse d'une puissance de 2. Ainsi la première décimale binaire est ½, la seconde est ¼, la troisième est 1/8 et ainsi de suite. Pour un nombre en virgule fixe dans un format de complément à deux, la borne maximale est : <math>2^{e-1}-\frac{1}{2^f}</math> et la borne minimale est <math>-2^{e-1}</math> où e correspond au nombre de bits de la partie entière signée et f au nombre de bits de la partie fractionnaire.
- 固定小数点数(こていしょうすうてんすう)は、コンピュータにおける実数の近似値の表現方式。固定小数点数では整数部分に用いるビット数と小数部分に用いるビット数をあらかじめ固定して表現する。同じく実数を近似表現する方式で小数点の位置が可変である浮動小数点数に対してこう呼ぶ。固定小数点とも呼ぶが、小数点自体を指すとも取れるため固定小数点数と呼ぶのが一般的。コンピュータで用いられる整数型は、小数部分に用いるビット数をゼロとした固定小数点数としてもとらえることもできる。 通常、実数は「小数点数」ではなく単に「小数」というので、「点数」がつくのは不自然にも見えるが、語の構造としては「固定-小数点数」ではなく「(固定-小数点)数」であり、正しい表現といえる。「固定小数」というと意味が通じなくなる。
- Zapis stałoprzecinkowy albo stałopozycyjny – jeden ze sposobów zapisu liczb ułamkowych stosowanych w informatyce. Do zapisu liczby stałoprzecinkowej przeznaczona jest z góry określona ilość cyfr dwójkowych, a pozycję przecinka ustala się arbitralnie, w zależności od wymaganej dokładności. Na przykład: mając do dyspozycji słowo 32-bitowe, można wydzielić 24 bity na część całkowitą, 8 bitów na część ułamkową, albo po 16 bitów na część całkowitą i ułamkową, albo 30 bitów na część całkowitą i zostawić tylko 2 bity do zapisu części ułamkowej. Podziału na część całkowitą i ułamkową dokonuje arbitralnie projektant systemu lub programista, który przewiduje z jak dużymi liczbami całkowitymi lub z jak dużą dokładnością obliczenia będą wykonywane. Zwiększanie precyzji liczby to zmniejszanie zakresu, gdyż bity które mają reprezentować część ułamkową (stać za przecinkiem) nie mogą już reprezentować wartości całkowitych. Stwierdzenie odwrotne również jest prawdziwe: zwiększanie zakresu (całkowitoliczbowego) to zmniejszanie precyzji (mniej bitów do dyspozycji na opisanie części ułamkowej). W skrajnych wypadkach możliwa jest sytuacja kiedy przecinek będzie stał poza znaczącymi cyframi liczby. Jeśli będzie on z lewej strony, będziemy mieć zakres mniejszy od 1, jeśli z prawej – precyzja będzie większa lub równa 1 (równość wystąpi, kiedy przecinek będzie stał bezpośrednio za cyframi znaczącymi, będziemy mieć wtedy zwykłe liczby całkowite).
- Число с фиксированной запятой — формат представления вещественного числа в памяти ЭВМ в виде целого числа. При этом само число x и его целочисленное представление x′ связаны формулой <math>x = x' \cdot z</math>, где z — цена (вес) младшего разряда. Простейший пример арифметики с фиксированной запятой — перевод рублей в копейки. В таком случае, чтобы запомнить сумму 12 рублей 34 копейки, мы записываем в ячейку памяти число 1234. В случае, если <math>z<1</math>, для удобства расчётов делают, чтобы целые числа кодировались без погрешности. Другими словами, выбирают целое число u (машинную единицу) и принимают <math>z = \frac 1 u В случае, если <math>z>1</math>, его делают целым. Если не требуется, чтобы какие-либо конкретные дробные числа входили в разрядную сетку, программисты обычно выбирают {{{1}}} это позволяет использовать в операциях умножения и деления битовые сдвиги. Про такую арифметику говорят: «f битов на дробную часть, i=n−f — на целую» и обозначают как «i,f» или «i. f» Например: арифметика 8,24 отводит на целую часть 8 битов и 24 — на дробную. Соответственно, она способна хранить числа от −128 до 128−z с ценой (весом) младшего разряда <math>z = 2^{-24} = 5{,}96 \cdot 10^{-8} Для угловых величин зачастую делают <math>z=2 \pi \cdot 2^{-f}</math> (особенно если тригонометрические функции вычисляются по таблице).
|
| rdfs:comment
|
- In computing, a fixed-point number representation is a real data type for a number that has a fixed number of digits after (and sometimes also before) the radix point (e.g. , after the decimal point '. ' in English decimal notation). Fixed-point number representation can be compared to the more complicated (and more computationally demanding) floating point number representation.
- Eine Festkommazahl ist eine Zahl, die aus einer festen Anzahl von Ziffern besteht. Die Position des Dezimalkommas ist dabei fest vorgegeben, daher der Name. Der Grundgedanke hinter Festkommazahlen ist die exakte Darstellung ohne Rundungsfehler eines Ausschnitts der rationalen Zahlen. Üblicherweise sind per Definition die ersten <math>n \leq k</math> Stellen Vorkommastellen und die restlichen <math>m = k - n</math> Nachkommastellen.
- Es la representació de nombres reals mitjançant un sistema numèric posicional. Serà la posició de la coma la que ens indiqui la potència de la base per la qual hem de multiplicar el dígit corresponent.
- La representación anterior recibe el nombre de coma fija, ya que con los 8 bits hemos fijado y reservado 5 para la parte entera y 3 para la fraccionaria. En los anteriores ejemplos la coma está fija y sirve para separar la parte entera de la parte fraccionaria. Al usar la notación en coma fija, queda muy limitado el número de cantidades a representar y todas ellas deben tener la misma resolución.
- En informatique, une représentation d'un nombre en virgule fixe est un type de donnée correspondant à un nombre qui possède un nombre fixe de chiffres après la virgule.
- Zapis stałoprzecinkowy albo stałopozycyjny – jeden ze sposobów zapisu liczb ułamkowych stosowanych w informatyce. Do zapisu liczby stałoprzecinkowej przeznaczona jest z góry określona ilość cyfr dwójkowych, a pozycję przecinka ustala się arbitralnie, w zależności od wymaganej dokładności.
- Число с фиксированной запятой — формат представления вещественного числа в памяти ЭВМ в виде целого числа. При этом само число x и его целочисленное представление x′ связаны формулой <math>x = x' \cdot z</math>, где z — цена (вес) младшего разряда.
|