This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: libjava configure question
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: tromey at redhat dot com
- Cc: java at gcc dot gnu dot org
- Date: Tue, 24 May 2005 08:36:37 -0700 (PDT)
- Subject: Re: libjava configure question
> >>>>> "Steve" == Steve Ellcey <sje@shale.cup.hp.com> writes:
>
> Steve> I am looking at a problem where libjava is generating calls to finite().
> Steve> They are coming from libjava/java/lang/*.c files.
>
> I wonder if there is a version of this function in fdlibm that we
> can/ought to use.
>
> Tom
I am looking at java/lang/fdlibm.h and I was wondering if anyone could
explain why this header does not include the system math.h file. I
tried to replicate what Fortran does but it did not work because
fdlibm.h does not include math.h and thus the macros fpclassify and
isfinite are not defined. I think C99 requires these to be macros and
not functions but without including math.h I won't see them.
So why does fdlibm.h include declarations of sin/pow/sqrt/etc. instead
of just including math.h?
Steve Ellcey
sje@cup.hp.com