This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: source code for math functions
- From: Brian Dessent <brian at dessent dot net>
- To: richard lee <vegasdog1 at yahoo dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 16 Apr 2008 19:41:00 -0700
- Subject: Re: source code for math functions
- References: <438451.89562.qm@web36508.mail.mud.yahoo.com>
- Reply-to: gcc-help at gcc dot gnu dot org
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