[
http://issues.apache.org/jira/browse/MATH-82?page=comments#action_12445114 ]
aeriform commented on MATH-82:
------------------------------
Math ==>
public static double sin(double a) {
return StrictMath.sin(a); // default impl. delegates to StrictMath
}
public static double cos(double a) {
return StrictMath.cos(a); // default impl. delegates to StrictMath
}
StrictMath ==>
public static native double sin(double a);
public static native double cos(double a);
> [math] FractionFormatTest doesn't compile under JDK 1.3
> --------------------------------------------------------
>
> Key: MATH-82
> URL: http://issues.apache.org/jira/browse/MATH-82
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: Nightly Builds
> Environment: Operating System: All
> Platform: All
> Reporter: Niall Pemberton
> Priority: Minor
> Attachments: math_FractionFormatTest_JDK13.patch,
> TEST-org.apache.commons.math.complex.ComplexUtilsTest.txt
>
>
> FractionFormatTest uses NumberFormat.getIntegerInstance() which is a JDK 1.4
> method. Changing this to use getInstance() instead and then using
> setParseIntegerOnly(true) allows it to compile under JDK 1.3 - and the test
> runs and passes.
> Its probably a moot point though since ComplexUtilsTest fails using JDK
> 1.3.1_04 (on both W2K and Windows XP).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]