Hi,
is there a floating point library for the MCF51AC* like the IQ Math lib from TI?
regards
lu
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
I did search but first I posted. That was in fact the wrong order
What I found in "ColdFire Architectures Build Tools Reference Manual" is a fp_coldfire.a
Is there a description of that library?
regards
lu
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
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
> 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
Ok, thank You so far.
Will move to the Code Warrior forum then.