source code for math functions
Brian Dessent
brian@dessent.net
Thu Apr 17 05:07:00 GMT 2008
richard lee wrote:
> Does anyone know how to retrieve the source code
> for the math functions for gcc? I am particularly
> interested in the long double functions. I am
> using mingw running under windows xp, and the version
> I have is very buggy when it comes to the long double
> routines.
>
> I looked on the gcc.gnu.org web site, but I can't
> find the forest for the trees.
gcc doesn't include a math library. It is just the compiler, not the C
library. In the case of MinGW the C library is MSVCRT.DLL. And yes,
MSVCRT support for long double is incomplete, however it is somewhat
augmented by libmingwex which provides some missing long double support.
If you mean the C library used with linux, then you want to look at
glibc not gcc. But I'm not sure how that will help you when using
MinGW.
Brian
More information about the Gcc-help
mailing list