Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Fixed point arithmetic scaling

Status
Not open for further replies.

mbenton

Newbie level 6
Joined
Jun 22, 2010
Messages
11
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,364
Hello,

I have found this values and dont understand how the scaling is done:

512 /* 1.0 scaled as 22,9 */
16 /* 1.0 scaled as 27,4 */
32 /* 0.0625 scaled as 22,9 */
 

I'm gonna give myself the answer.

512 /* 1.0 scaled as 22,9 */
I think it means that the most semnificative 22 bits are used to represent the integer part, and 9 bits to represent the fractional part. In the case above 512/(2^9)=1
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top