commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rahul Akolkar" <>
Subject Re: [math] should version 2.0 be targeted to Java 5 ?
Date Sun, 11 May 2008 19:31:19 GMT
As a general comment, its time to go to higher JDKs where it makes
sense -- or atleast where there is developer interest in doing so
(such as the post below :-). I have a JDK 1.6 branch for Commons
SCXML, which I hope to release in a few months.


On Sun, May 11, 2008 at 12:27 PM, Luc Maisonobe <> wrote:
> Mauro Talevi recently proposed a new package for general linear regression
> ( This patch needs Java 5,
> mainly for annotations.
> Mauro suggested to take the opportunity of the next [math] major version to
> switch to Java 5. A major version seems appropriate for such a change, but
> do we want to do it now ?
> My personal opinion is that sticking to Java 1.3 is really obsolete and
> difficult. When I upgraded my Linux box recently, I had to search old
> backups to reinstall a JDK manually. Dropping this could simplify some codes
> (exceptions for example) and fix some errors (there is a known issue with
> unit tests since Java 1.3 does not compute trigonometric functions as it
> should).
> If we decide to change minimal Java version, I would choose to target 1.5.
> It is widely adopted and deployed now and has many features which would be
> useful for a mathematical library:
>    - new Math functions (log10, cbrt, ulp, signum, cosh, sinh, tanh, hypot,
> expm1, log1p)
>    - autoboxing
>    - MathContext, RoundingMode
> In addition, there are the many features that are interesting for any type
> of Java development (enums, generics, annotations).
> Java 6 brings even more Math functions (copysign, getExponent, nextAfter,
> nextUp, scalb), some of which we needed to add ourselves in MathUtils.
> However, I'm not sure it is as widely deployed than Java5.
> Perhaps Java 7 would bring even more functions (asinh, acosh and atanh are
> still missing ...)
> What do you think ?
> Luc

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message