Sqaure root function in assembly language:

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

Sqaure root function in assembly language:

ソリューションへジャンプ
2,307件の閲覧回数
RohitSinghal
NXP Employee
NXP Employee
Hi,
 
In order to handle performance issue, i require assembly code for sqaure root function that will boost the
over all system performance providing better results.
 
Regds,
Rohit
 
 
ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
887件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
There are a few important details missing in the question.
First, for which processor is this, for a S08 or S12 (or XGATE or RS08 or CF)?
Then on which kind of values (floating point, int, long, limited value range, complex numbers,...)?
ANSI C provides a floating point one only, so if you need an integral one, then
here's a C implementation by bigmac using a new Newton algorithm:

http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&message.id=6411


Daniel


元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
888件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee
There are a few important details missing in the question.
First, for which processor is this, for a S08 or S12 (or XGATE or RS08 or CF)?
Then on which kind of values (floating point, int, long, limited value range, complex numbers,...)?
ANSI C provides a floating point one only, so if you need an integral one, then
here's a C implementation by bigmac using a new Newton algorithm:

http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&message.id=6411


Daniel


0 件の賞賛
返信
887件の閲覧回数
RohitSinghal
NXP Employee
NXP Employee
Thanks for the info.,
 
This code is required for flexis AC series of controller for S08 as well as CF processor.
 
It is basicly used for handling floating point numbers.
 
Regds,
Rohit
0 件の賞賛
返信