This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: fdlibm


Hi,

On Fri, 2004-04-02 at 11:52, Mark Wielaard wrote:
> While updating the external sources included with GNU Classpath I
> noticed that we sync out fdlibm implementation from time to time with
> libgcj. But I couldn't find when, how or with whom you sync 'upstream'.
> Who do you consider upstream for these sources?

Found it already. It is documented in java/lang/StrictMath.java (which
comes again from GNU Classpath, sigh, sorry about that) which says:

/*
 * Some of the algorithms in this class are in the public domain, as part
 * of fdlibm (freely-distributable math library), available at
 * http://www.netlib.org/fdlibm/, and carry the following copyright:
 * ====================================================
 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
 *
 * Developed at SunSoft, a Sun Microsystems, Inc. business.
 * Permission to use, copy, modify, and distribute this
 * software is freely granted, provided that this notice
 * is preserved.
 * ====================================================
 */

That comment is a bit misleading (because it isn't public domain, but
clearly licensed under some very permissive terms.

This is the only place in libgcj where this is documented. It would
probably be good to document this better (including which version
exactly is included, last upstream merge date, etc.)

For GNU Classpath I would like to keep the libgcj version of this
library as "upstream" since I know you test it against much more diverse
platforms then we are currently testing against. We should probably add
this to the merge-compare-script. But we have the files under
native/fdlibm and you have them all in java/lang/.

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]