công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

PM0014 bảng dữ liệu(PDF) 33 Page - STMicroelectronics

tên linh kiện PM0014
Giải thích chi tiết về linh kiện  General-purpose DSP library
PDF  46 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0014 bảng dữ liệu(HTML) 33 Page - STMicroelectronics

Back Button PM0014 Datasheet HTML 29Page - STMicroelectronics PM0014 Datasheet HTML 30Page - STMicroelectronics PM0014 Datasheet HTML 31Page - STMicroelectronics PM0014 Datasheet HTML 32Page - STMicroelectronics PM0014 Datasheet HTML 33Page - STMicroelectronics PM0014 Datasheet HTML 34Page - STMicroelectronics PM0014 Datasheet HTML 35Page - STMicroelectronics PM0014 Datasheet HTML 36Page - STMicroelectronics PM0014 Datasheet HTML 37Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 33 / 46 page
background image
PM0014
Arithmetic library functions
33/46
5.7
Function approximation
5.7.1
sqrt_p16q16_p8q8
void sqrt_p16q16_p8q8 (short xmsb, short xlsb, short *Output).
Description:
The square root function is approximated by the Hoerner
polynomial. The input is in 16.16 format and the output is in 8.8
format with a precision to within three least significant bits.
Argument:
xmsb
Input most significant bits.
xlsb
Input least significant bits.
Output
Output pointer.
Algorithm:
x1/2
≈ 0.2075806 + 1.454895x - 1.34491x2 +1.106812x3 -
0.536499x4 + 0.11212116x5
Note:
The input value can range from 0 to 215 - 1/215.
In fact the previous approximation is valid only between 0.5 and 1
but all inputs are scaled into this range.
Assembly source
code:
sqrt_p16q16_p8q8.asm
Code size and cycles: Size: 330 bytes
Instruction cycles: 164
Test:
Two files are provided to test the function: an input vector file
(sqrt_p16q16_p8q8.in) and an output vector file
(sqrt_p16q16_p8q8.res):
sqrt_p16q16_p8q8.in is made as follows:
OpLsb1,
OpMsb1,
OpLsb2,
OpMsb2,
...
sqrt_p16q16_p8q8.res is made as follows:
Output1,
Output2,
...



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


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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