Fixed point calculation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Fixed point calculation

575件の閲覧回数
ranjithshanbhag
Contributor III

Is it possible to calculate Fixed point method in LPC824?
Since Floating point calculation requires more time to execute.

0 件の賞賛
返信
1 返信

460件の閲覧回数
jeffreycasey
Contributor I

there are primitive operations for add, subtract, multiply.  for division where the divisor is known at coding time, you can find a suitable X and Y where you can multiply by X and shift-right Y bits for division to needed accuracy.  for division where the divisor is only known in realtime, you need a longer routine for division.  there are some good example routines in "ARM System Developer's Guide" by Sloss et al.

0 件の賞賛
返信