数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PM0014 数据表(PDF) 25 Page - STMicroelectronics

部件名 PM0014
功能描述  General-purpose DSP library
PDF  46 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

PM0014 数据表(HTML) 25 Page - STMicroelectronics

Back Button PM0014 Datasheet HTML 21Page - STMicroelectronics PM0014 Datasheet HTML 22Page - STMicroelectronics PM0014 Datasheet HTML 23Page - STMicroelectronics PM0014 Datasheet HTML 24Page - STMicroelectronics PM0014 Datasheet HTML 25Page - STMicroelectronics PM0014 Datasheet HTML 26Page - STMicroelectronics PM0014 Datasheet HTML 27Page - STMicroelectronics PM0014 Datasheet HTML 28Page - STMicroelectronics PM0014 Datasheet HTML 29Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 25 / 46 page
background image
PM0014
Arithmetic library functions
25/46
5.5
Division
5.5.1
div_q31_q15_q15
div_q31_q15_q15 (short LeftOpMsb, short LeftOpLsb, short RightOp, short *Output).
Description:
Division of two real fractional inputs. Dividend is on 32 bits, divisor
on 16 bits and quotient on 16 bits.
Argument:
LeftOpMsb
Left operand most significant bits.
LeftOpLs
Left operand least significant bits.
RightOp
Right operand.
Output
Output pointer.
Algorithm:
LeftOp / RightOp = Output
Note:
The dividend must be smaller than the divisor for a valid result.
Divisions on limits (for example, division of 1 by 1 or of -1 by -1) are
not computed by this routine.
The algorithm implemented does not allow integer division. For
dividing two integers (dividend in 32.0 format and divisor in 16.0),
shift the dividend one bit to the left (into 31.1 format) before
dividing.
Assembly source
code:
div_q31_q15_q15.asm
Code size and cycles: Size: 98 bytes
Instruction cycles: 216
Test:
Two files are provided to test the function: an input vector file
(div_q31_q15_q15.in) and an output vector file
(div_q31_q15_q15.res):
div_q31_q15_q15.in is made as follows:
LeftOpMsb1, LeftOpLsb1, RightOp1
...
div_q31_q15_q15.res is made as follows:
Output1,
...



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com