This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: GSL-1.1.1 on Tru64Unix 5.1 with native cc
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: gnolte at gwdg dot de
- Cc: gsl-discuss at sources dot redhat dot com, diesmann at jupiter dot chaos dot gwdg dot de
- Date: Sun, 21 Jul 2002 13:45:56 +0100 (BST)
- Subject: Re: GSL-1.1.1 on Tru64Unix 5.1 with native cc
- References: <200207180736.JAA0000750201@saturn.chaos.gwdg.de>
Gerhard Nolte writes:
> I compiled the gsl-1.1.1 library on a Compaq Alpha machine running
> Tru64Unix 5.1 with the native C compiler Compaq C Version 6.4 for
> Compaq Tru64 UNIX Systems
> I got several warnings in some functions like
> cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -ieee -fprm d -g -c airy.c
> -DPIC -o .libs/airy.lo cc: Warning: airy.c, line 780: In this
> statement, floating-point overflow occurs in evaluating the
> expression "3.4e+39F". (floatoverfl)
> OVERFLOW_ERROR(result);
> ------^
> Tracking down the includes and defines it comes out that INFINITY
> is defined as this number (3.4e+39F).
> Is it safe to ignore these warnings?
You'll need to check your compiler documentation on the use of the
INFINITY macro, and any compiler options that are needed to support
it. In the case of overflow the special functions try to return
INFINITY.
regards
Brian Gough