libjava configure question

Steve Ellcey sje@cup.hp.com
Tue May 24 15:38:00 GMT 2005


> >>>>> "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



More information about the Java mailing list