This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Alternative math libraries
- To: Bruce Allen <ballen at gravity dot phys dot uwm dot edu>
- Subject: Alternative math libraries
- From: Stephen L Moshier <moshier at mediaone dot net>
- Date: Wed, 23 May 2001 19:33:31 -0400 (EDT)
- cc: ballen at uwm dot edu, libc-alpha at sources dot redhat dot com
- Reply-To: moshier at moshier dot ne dot mediaone dot net
Here are two versions of Sun's fdlibm library that can be compiled on
an x86 PC computer. I do not know what would happen if one tries to
build the glibc version of fdlibm on a PC. The code that Sun made
public functions just with Sun's pre-ANSI compiler on a Sun sparcstation
and it has taken a lot of work by Drepper and others to produce versions
for different computers and compilers.
Newlib (http://sources.redhat.com/newlib/)
This fdlibm version is the one used by Cygwin for Microsoft Windows.
I was able to build it for a pc-linux box without much trouble.
DJGPP (http://www.delorie.com/)
This fdlibm was derived from the Newlib version, I believe.
It comes with Delorie's self-contained development system for MS-DOS.
I do not know how hard it would be to build it for linux. I do know
that it was subjected to some math tests several years ago.