This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Q格式



如題,我將

#ifndef GLOBAL_Q

#define GLOBAL_Q 20

#endif

我要將一整數 450

轉變至Q20格式

首先

450*2^20 = 471869200

再將其轉為二進制為:

11100001000000000000000000000

請問我要輸入多少至 _IQ(?) 裡面?