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" <[email protected]>
To: <[email protected]>
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: [email protected]
> [mailto:[email protected]] On Behalf Of Oleg
> Skydan
> Sent: Thursday, May 20, 2004 8:24 PM
> To: [email protected]
> 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
> [email protected]
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>