public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* GSL-1.1.1 on Tru64Unix 5.1 with native cc
@ 2002-07-18  0:36 Gerhard Nolte
  2002-07-21  6:50 ` Brian Gough
  0 siblings, 1 reply; 2+ messages in thread
From: Gerhard Nolte @ 2002-07-18  0:36 UTC (permalink / raw)
  To: gsl-discuss; +Cc: diesmann

Hi All,

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?


Thanks in advance
Gerhard

-- 
========================================================================
Gerhard Nolte
MPI fuer Stroemungsforschung			Email:	gnolte@gwdg.de
Bunsenstr. 10					Phone:	+49-551-5176-716
37073 Goettingen, Germany			Fax:	+49-551-5176-483
========================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: GSL-1.1.1 on Tru64Unix 5.1 with native cc
  2002-07-18  0:36 GSL-1.1.1 on Tru64Unix 5.1 with native cc Gerhard Nolte
@ 2002-07-21  6:50 ` Brian Gough
  0 siblings, 0 replies; 2+ messages in thread
From: Brian Gough @ 2002-07-21  6:50 UTC (permalink / raw)
  To: gnolte; +Cc: gsl-discuss, diesmann

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-21 13:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-18  0:36 GSL-1.1.1 on Tru64Unix 5.1 with native cc Gerhard Nolte
2002-07-21  6:50 ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).