Oleg, Cause of some built-in type checks of gcc I made this with respect to Ieee754 conversions. Try to define sqrtf() as sqrt().
~d -----Original Message----- From: mspgcc-users-ad...@lists.sourceforge.net [mailto:mspgcc-users-ad...@lists.sourceforge.net] On Behalf Of Oleg Skydan Sent: Friday, May 21, 2004 7:06 PM To: mspgcc-users@lists.sourceforge.net Subject: Re: [Mspgcc-users] fplib BUG Hi, Dmitry ! I have checked the ef_sqrt.c file and compared the new and old versions. I have found the following piece of code at the end of the both ef_sqrt.c files: #ifdef __STDC__ float sqrt(float x) #else float sqrt(x) float x; #endif { return __ieee754_sqrtf(x); } Here is the problem - in the newer file 'sqrt' is changed to 'sqrtf'. Why it was done ? All the best ! Oleg ----- Original Message ----- From: "Dima" <d...@radio.rphf.spbstu.ru> To: <mspgcc-users@lists.sourceforge.net> Sent: Saturday, May 21, 2005 10:39 AM Subject: RE: [Mspgcc-users] fplib BUG > Oleg, > It is something like sqrtf() or ieee_sqrt() which I cannot check :( > You can check it at libc/src/libm/sf_sqrt.c (I hope) > ~d > > > -----Original Message----- > From: mspgcc-users-ad...@lists.sourceforge.net > [mailto:mspgcc-users-ad...@lists.sourceforge.net] On Behalf Of Oleg > Skydan > Sent: Thursday, May 20, 2004 8:24 PM > To: mspgcc-users@lists.sourceforge.net > Subject: Re: [Mspgcc-users] fplib BUG > > Hi, Dmitry ! > > > I got > > b=1.40999997 > > which seems to be correct. > > > > Oops, looks like I used libfp.a from my old installation, sorry... > > But now there is another problem the sqrt function is missing in libm.a. > > All the best, > Oleg > P.S. I have made some "lightweight" fp functions > (sin,cos,atan,asic,acos) > will test it and post here. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Mspgcc-users mailing list > Mspgcc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users