[an error occurred while processing this directive]
Q фоматы не в процессоре, а в голове разрабочика. Там есть небольшая глава про Fixed-point arithmetic. и про Q фотматы там немного есть
(«Телесистемы»: Конференция «Цифровые сигнальные процессоры (DSP) и их применение»)

миниатюрный аудио-видеорекордер mAVR

Отправлено AntZ 24 июля 2003 г. 17:09
В ответ на: Ответ: Ах, да! Спасибо! Немного ошибся - конечно же Q0.15 !! .. Но... (+) отправлено lol 24 июля 2003 г. 15:04

процессор тут совершенно ни при чем. Q15 он и на Pentium Q15

Немного про Q форматы в приложении pdf на DSPLib:

Unless specifically noted, DSPLIB functions use Q15 format or to be more exact
Q0.15. In a Qm.n format, there are m bits used to represent the two’s complement
integer portion of the number, and n bits used to represent the two’s
complement fractional portion. m+n+1 bits are needed to store a general Qm.n
number. The extra bit is needed to store the sign of the number in the most-significant
bit position. The representable integer range is specified by (- 2m, 2m)
and the finest fractional resolution is 2n .
For example, the most commonly used format is Q.15. Q.15 means that a
16-bit word is used to express a signed number between positive and negative
1. The most-significant binary digit is interpreted as the sign bit in any Q format
number. Thus in Q.15 format, the decimal point is placed immediately to the
right of the sign bit. The fractional portion to the right of the sign bit is stored
in regular two’s complement format.

Составить ответ  |||  Конференция  |||  Архив

Ответы


Отправка ответа

Имя (обязательно): 
Пароль: 
E-mail: 

Тема (обязательно):
Сообщение:

Ссылка на URL: 
Название ссылки: 

URL изображения: 


Перейти к списку ответов  |||  Конференция  |||  Архив  |||  Главная страница  |||  Содержание  |||  Без кадра

E-mail: info@telesys.ru