Update Math and StrictMath partially to 11+28
StrictMath methods are essentially the same as Math's so include them
both in the same CL. They are also covered by unified unit tests.
Added two constants:
* DEGREES_TO_RADIANS
* RADIANS_TO_DEGREES
Added methods:
* multiplyExact(long, int)
* multiplyFull(int, int)
* multiplyHigh(long, long)
* floorDiv(long, int)
* floorMod(long, int)
Added unit tests.
Updated csv test expectations for toRadians() and toDegrees() as newly
introduced constants improve double precision slightly.
Test: atest CtsLibcoreOjTestCases:test.java.lang.Math.ExactArithTests \
CtsLibcoreOjTestCases:test.java.lang.Math.DivModTests \
CtsLibcoreOjTestCases:test.java.lang.Math.MultiplicationTests \
CtsLibcoreTestCases:libcore.java.math.RunCSVTests \
CtsLibcoreTestCases:libcore.java.math.RunCSVTestsStrict
Change-Id: Ic54b52e912faf335515fff37baf5854bdf28952b
8 files changed