Math Round Intrinsic Implementations For Java8.

According to Java 8 API definition Math.round() performs:
Return the closest long or int to the argument,
with ties rounding to positive infinity.

Before this patch, the Math.round intrinsics were disabled,
because they followed the old definition of Math.round: floor(input+0.5).

This patch reimplement Math.round intrinsic to follow the new definition.

Change-Id: I453c01a9857a3d461b230e4d4e98c2d7bdf7a3c7
1 file changed