Phil Steitz
e380da5bd1
Fixed throws to reference exception that can be thrown.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1067583 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 04:08:41 +00:00
Phil Steitz
da71713db8
Removed trailing spaces.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1067582 13f79535-47bb-0310-9956-ffa450edef68
2011-02-06 03:55:32 +00:00
Sebastian Bazley
98b16444f5
Javadoc tidyup
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1067500 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 20:11:30 +00:00
Sebastian Bazley
2a7fc67ab0
Add some @since 2.2 markers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1067495 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 19:58:45 +00:00
Sebastian Bazley
2612c97685
Add some @since 2.2 markers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1067494 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 19:49:07 +00:00
Sebastian Bazley
a5fcc59422
Add some @since 2.2 markers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1067489 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 19:33:49 +00:00
Sebastian Bazley
e65efbdb31
Update to current Commons Parent
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1067474 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 18:11:07 +00:00
Sebastian Bazley
9b336b0699
Avoid some Findbugs complaints
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1066395 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 09:46:21 +00:00
Sebastian Bazley
0fcb5ce9ee
Drop unused last parameter
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1066391 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 09:44:20 +00:00
Sebastian Bazley
8f73dfc560
Fix broken test: add missing fail() call
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1066376 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 09:06:41 +00:00
Sebastian Bazley
c6ac38c5bf
Use actual array sizes rather than magic numbers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1066280 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 23:57:30 +00:00
Sebastian Bazley
49aa29daa9
Unnecessary casts
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1066168 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:34:54 +00:00
Sebastian Bazley
0cb0e06920
Don't waste precious ; !
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1066166 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:32:11 +00:00
Sebastian Bazley
a723caaf2d
Unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1066165 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:31:28 +00:00
Sebastian Bazley
0f15b48221
Missing @Override
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1066162 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 19:30:26 +00:00
Sebastian Bazley
703295845b
MATH-505 TestUtils is thread-hostile - deprecate the offending methods
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1066134 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 18:57:41 +00:00
Sebastian Bazley
3a4b5ee0ec
MATH-505 TestUtils is thread-hostile - deprecate the offending methods
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1066133 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 18:56:25 +00:00
Sebastian Bazley
92d071b8b5
Arrays might as well be final
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1065872 13f79535-47bb-0310-9956-ffa450edef68
2011-02-01 00:12:09 +00:00
Phil Steitz
acbee6a950
Fixed errors introduced in r1037327, restored FastMath changes.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1065729 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 19:50:41 +00:00
Phil Steitz
3faa321517
Reverted incompatible changes made in r985828
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1065714 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 19:14:14 +00:00
Phil Steitz
c7acd70ba5
Fixed error in r1065481 change. Need to clone, not reference start point.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1065689 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 17:20:53 +00:00
Phil Steitz
03449e890b
Reverted incompatible changes in r980013.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1065489 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 06:42:00 +00:00
Phil Steitz
3c9ec4827b
Removed references to issues not resolved in 2.2.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1065485 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 05:53:06 +00:00
Phil Steitz
f52e28cdde
Javadoc. Removed link to removed class.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1065484 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 05:45:14 +00:00
Phil Steitz
7efe2b5fa9
Reverted incompatible changes made in r967288, JIRA: MATH-389.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1065481 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 05:31:41 +00:00
Mikkel Meyer Andersen
de9f21fe05
Updated name in changelog to reflect fixes for MATH-384 and MATH-385 which was introduced in r1056747.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1064904 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 21:56:42 +00:00
Sebastian Bazley
75d410c92d
Allow a single JUnit test to be run if the test.entry property is defined
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1063391 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 18:35:21 +00:00
Sebastian Bazley
0074cfe9c7
Merge changes from trunk
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1063078 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 00:29:18 +00:00
Sebastian Bazley
39adf71206
Trailing spaces
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1063043 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 22:40:54 +00:00
Sebastian Bazley
9b7f1c9522
Allow for specific atan2 and toRadians off-by-one errors
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1063034 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 22:27:47 +00:00
Luc Maisonobe
fe7ca2e0aa
fixed scalb for very large powers
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062929 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 19:14:02 +00:00
Sebastian Bazley
77e64c0cb7
Allow a single test to be run
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062926 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 19:09:26 +00:00
Sebastian Bazley
aef1cb89bf
Remove reflection tests as they are in FastMathStrictComparisonTest
...
Enable fail if not all StrictMath methods have been implemented
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062904 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 18:08:40 +00:00
Sebastian Bazley
38b3ea4a57
Check all FastMath methods against StrictMath results
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062895 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 17:34:02 +00:00
Sebastian Bazley
3e737a51f4
MATH-477 FastMath Javadoc should show which methods actually use java.lang.Math internally
...
Also fixed round(int) to use local FastMath method
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062765 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 13:20:28 +00:00
Sebastian Bazley
36d220f3dd
MATH-493 FastMath min and max fail with (Infinity,-Infinity) and (0,0, -0.0)
...
Fixing (0,0, -0.0) by using code from Harmony.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062759 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 12:48:15 +00:00
Gilles Sadowski
ac701188fe
MATH-500
...
Deprecation.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062691 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 09:12:47 +00:00
Phil Steitz
010a45dd4d
Reverted incompatible change.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062564 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 22:55:43 +00:00
Luc Maisonobe
f55eb717d2
added FastMath.hypot
...
JIRA: MATH-478
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062558 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 22:37:15 +00:00
Luc Maisonobe
483954b005
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062553 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 22:27:12 +00:00
Luc Maisonobe
9af0c6fc0f
added FastMath.scalb(double, int) and FastMath.scalb(float, int)
...
deprecated MathUtils.scalb(double, int)
JIRA: MATH-498
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062549 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 22:19:37 +00:00
Sebastian Bazley
c111a2fe34
Split testPerformance() into new class
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062455 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 15:42:34 +00:00
Sebastian Bazley
c3d918b031
Update nextAfter Javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062407 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 12:21:36 +00:00
Luc Maisonobe
562b0c8823
fixed nextAfter implementations for handling of some special values
...
fixed the signature of the float version, as the spec is to have a double second argument
moved the existing tests that were used in the former implementation in MathUtils,
fixing them also as two of them were not compliant with the spec for equal numbers
Jira: MATH-478
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062385 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 11:04:32 +00:00
Luc Maisonobe
93b6030cce
added getExponent methods to FastMath
...
JIRA: MATH-497
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062365 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 10:26:36 +00:00
Luc Maisonobe
38e62e398c
announced bugs fixed by sebb
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062362 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 10:24:07 +00:00
Luc Maisonobe
213b03288e
javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062360 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 10:17:29 +00:00
Sebastian Bazley
86ae7efc71
MATH-496 Create FastMath copySign methods
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062304 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 00:58:07 +00:00
Sebastian Bazley
fcc41aa360
Should only test against public methods.
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062302 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 00:53:08 +00:00
Sebastian Bazley
ebe4b3e92b
Javadoc tweak
...
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_X@1062261 13f79535-47bb-0310-9956-ffa450edef68
2011-01-22 20:28:59 +00:00