Floating Point Library ?

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

Floating Point Library ?

1,169件の閲覧回数
stowoda
Contributor I

Hi,

 

is there a floating point library for the MCF51AC* like the IQ Math lib from TI?

 

regards

lu

ラベル(1)
0 件の賞賛
6 返答(返信)

716件の閲覧回数
TomE
Specialist II

Have you typed "Floating Point" into the "Search" field on this forum, and checked to see if any of the matching THIRTY SEVEN posts answer your question?

 

Your compiler should supply a Floating Point library. What do you need that's different?

 

Searching Freescale for "floating point library" gets lots of hits, including this one for a commercial one:

 

http://www.smxrtos.com/ussw/gofast/gofast_coldfire_cw.htm

 

Tom

 

0 件の賞賛

716件の閲覧回数
stowoda
Contributor I

I did search but first I posted. That was in fact the wrong order :smileysad:

 

What I found in "ColdFire Architectures Build Tools Reference Manual" is a fp_coldfire.a

Is there a description of that library?

 

regards

lu

0 件の賞賛

716件の閲覧回数
TomE
Specialist II

That document is for the "CodeWarrior Development Studio". It is a commercial product that costs $395/year for the basic version.

 

The best description of the library is probably that it follows the C89 and C99 language specifications.

 

I asked:

>> Your compiler should supply a Floating Point library. What do you need that's different?

 

It would help me to help you if you would answer that question.

 

Any C compiler for that CPU comes with a floating point library. I would suggest:

 

http://www.codesourcery.com/sgpp/lite_edition.html

 

Are you trying to code everything in assembly or something?

 

Tom

 

0 件の賞賛

716件の閲覧回数
stowoda
Contributor I

I am using "CodeWarrior Development Studio" 10.1

 

Settings -> Processor -> Floating Point: is set to Software

 

Is that all to enable floating point support?

 

regards

lu

0 件の賞賛

716件の閲覧回数
TomE
Specialist II

> Is that all to enable floating point support?

 

I think so. Declare some variables "float" or "double" and off you go.

 

Any further questions specific to Code Warrior should be posted in the Code Warrior forums. This one is more for hardware problems.

 

Tom

 

0 件の賞賛

716件の閲覧回数
stowoda
Contributor I

Ok, thank You so far.

Will move to the Code Warrior forum then.

0 件の賞賛