Commit Graph

29 Commits

Author SHA1 Message Date
Vivek Deshpande
1a188cf07a 8154122: Intrinsify fused mac operations
Added FMA intrinsics on x86

Reviewed-by: kvn, aph, darcy
2016-08-26 12:20:09 -07:00
Brian Burkhalter
3497da36a2 8023217: Additional floorDiv/floorMod/multiplyExact methods for java.lang.Math
Add new methods with long, int signatures.

Reviewed-by: darcy, scolebourne
2015-09-29 17:28:44 -07:00
Brian Burkhalter
8c58aff49d 5100935: No way to access the 64-bit integer multiplication of 64-bit CPUs efficiently
Add methods multiplyFull() and multiplyHigh() to Math and StrictMath.

Reviewed-by: darcy
2016-05-20 14:41:41 -07:00
Joe Darcy
965536262b 4851642: Add fused multiply add to Java math library
Reviewed-by: bpb, nadezhin
2016-04-15 10:14:57 -07:00
Vivek Deshpande
158a883681 8143353: update for x86 sin and cos in the math lib
Optimize Math.sin() and cos() for 64 and 32 bit X86 architecture using Intel LIBM  implementation.

Reviewed-by: kvn
2016-01-08 20:33:02 -08:00
Joe Darcy
655a976e65 8136799: Port fdlibm cbrt to Java
Reviewed-by: bpb
2015-10-14 16:17:08 -07:00
Joe Darcy
67603e6d54 8134795: Port fdlibm pow to Java
Reviewed-by: bpb
2015-09-17 13:43:06 -07:00
Chris Hegarty
008fee0591 8079782: RandomFactory should be in the jdk.testlibrary package
Reviewed-by: bpb
2015-05-08 11:02:33 +01:00
Brian Burkhalter
30e8183ee8 8078672: Print and allow setting by Java property seeds used to initialize Random instances in java.lang numerics tests
Add ability to initial the random number generator from the system property "seed" and print to STDOUT the seed value actually used.

Reviewed-by: darcy
2015-04-29 16:34:49 -07:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Amy Lu
10489a3c6c 8055852: Add test/java/lang/Math/DoubleConsts.java and FloatConsts.java
Reviewed-by: mchung, darcy
2014-08-22 18:54:20 -07:00
Amy Lu
ff93fd2cce 8042003: Update java/lang/Math tests to eliminate dependency on sun.misc.DoubleConsts and sun.misc.FloatConsts
Reviewed-by: mchung, darcy
2014-08-22 14:56:09 -07:00
Lana Steuck
657b9db1ba 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
Updated files with 2011, 2012 and 2013 years according to the file's last updated date

Reviewed-by: tbell, lancea, chegar
2013-12-26 12:04:16 -08:00
Joe Darcy
1c57114347 8033416: Remove sun.misc.FpUtils
Reviewed-by: alanb, bpb, psandoz
2014-02-03 09:52:36 -08:00
Dmitry Nadezhin
28d455529e 8010430: Math.round has surprising behavior for odd values of ulp 1
If the effective floating point exponent is zero return the significand including the implicit 1-bit.

Reviewed-by: bpb, darcy, gls
2013-09-11 17:07:35 -07:00
Brian Burkhalter
10673cfe8c 8022109: Evaluate adding incrementExact, decrementExact, negateExact to java.lang.Math
Add the methods for parameter types int and long.

Reviewed-by: mduigou
2013-08-12 10:35:44 -07:00
Roger Riggs
d5da33beea 8014296: DivModTests should not compare pointers
Reviewed-by: darcy
2013-05-10 09:06:21 -07:00
David Katleman
306cab1006 8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
2012-12-20 16:24:50 -08:00
Krystal Mo
e6ab16c283 8004066: TEST_BUG: test/java/lang/Math/DivModTests.java assumes ArithmeticException message
Reviewed-by: twisti, alanb, dholmes
2012-12-04 15:10:03 +00:00
Roger Riggs
5d67e2bbb1 6282196: There should be Math.mod(number, modulo) methods
Added the requested methods

Reviewed-by: darcy, emcmanus, alanb
2012-11-07 20:50:09 -08:00
Roger Riggs
ac69a5f84a 6708398: Support integer overflow
Added add/sub/multiply/toIntExact methods to j.l.Math and StrictMath classes

Reviewed-by: emcmanus
2012-02-16 11:43:20 -08:00
Joe Darcy
82e488e3ae 7092404: Add Math.nextDown and Double.isFinite
Reviewed-by: mduigou
2011-09-21 23:22:11 -07:00
Joe Darcy
5b7643e258 7091682: Move sun.misc.FpUtils code into java.lang.Math
Reviewed-by: alanb
2011-09-18 18:14:07 -07:00
Joe Darcy
0cb631bf43 4900206: Include worst-case rounding tests for Math library functions
Reviewed-by: alanb
2011-08-12 13:36:39 -07:00
Joe Darcy
b4d4e3bed4 6430675: Math.round has surprising behavior for 0x1.fffffffffffffp-2
Reviewed-by: alanb
2011-04-14 21:27:10 -07:00
Kelly O'Hair
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
Joe Darcy
37a980650b 6908131: Pure Java implementations of StrictMath.floor(double) & StrictMath.ceil(double)
Reviewed-by: alanb
2009-12-15 13:51:44 -08:00
Joe Darcy
c40412f4f4 6907177: Update jdk tests to remove unncessary -source and -target options
Reviewed-by: ohair
2009-12-03 18:19:10 -08:00
Joe Darcy
61f89b0025 6601457: Move wrapper class tests from closed to open
6601458: Move java.math tests from closed to open
6740185: Move java/lang/annotations tests to open
6759433: Move Math and StrictMath regression tests from closed to open

Move some more regression tests to the open

Reviewed-by: jjg
2009-01-26 19:49:26 -08:00