Missing functions - redlib latest

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Missing functions - redlib latest

1,042 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vasanth on Thu Dec 20 01:07:48 MST 2012
Hi,
I have been using math functions from math.h redlib. While i consider upgrading to lpcxpresso 5, i find several math functions that were previously available in redlib lpcxpresso release 4.1.0 are missing now in the latest release. Examples are round( ), atan2f( ) etc...
I know newLib is there. But why redlib has reduced its features? Or am i missing something?
0 Kudos
Reply
2 Replies

931 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by vasanth on Thu Dec 20 10:53:31 MST 2012

Quote:

There were a number of C99 function declarations accidentally added to  the Redlib math.h header file in early LPCXpresso v4 builds where no  actual definition exists in the library itself. More details of this can  be found in this post...

http://knowledgebase.nxp.com/showpos...62&postcount=3

These declarations have since been removed from math.h.

Regards,
CodeRedSupport

In my case, atan2f( ) is the C99 function precisely i use. It has been defined under version 4.1.0 (i am quite sure) and i have been using that in my project :eek:. Somehow it has been omitted in later versions.
But according to the suggestion, i am  now using newlib without any problems.:)
Thanks.
0 Kudos
Reply

931 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Dec 20 03:17:57 MST 2012
There were a number of C99 function declarations accidentally added to the Redlib math.h header file in early LPCXpresso v4 builds where no actual definition exists in the library itself. More details of this can be found in this post...

http://knowledgebase.nxp.com/showpost.php?p=12362&postcount=3

These declarations have since been removed from math.h.

Regards,
CodeRedSupport
0 Kudos
Reply