diff options
author | xueliang.zhong <xueliang.zhong@linaro.org> | 2016-05-27 18:56:13 +0100 |
---|---|---|
committer | xueliang.zhong <xueliang.zhong@linaro.org> | 2016-07-08 14:51:05 +0100 |
commit | d1e153c4101d52a3f916a15b57b7ef4394106e11 (patch) | |
tree | ae18fde2ce2d59b29ed0d06eaed4c07e53803dee /compiler/optimizing/graph_visualizer.cc | |
parent | 2e7acaffda05db1df6e0631468f10726e898a20a (diff) |
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
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions