commit | 3c59084fd2e6b5a8f3eb645408005f43a3779401 | [log] [tgz] |
---|---|---|
author | Aart Bik <ajcbik@google.com> | Tue Jan 03 09:53:00 2017 -0800 |
committer | Aart Bik <ajcbik@google.com> | Thu Jan 05 10:09:16 2017 -0800 |
tree | f4db0c51f3ac56d498ddbe8f9985f7665f697581 | |
parent | f67dadb5550ee2bd9db0b7b0b75d8c44ddf170d2 [diff] |
Tests on FP Math.abs() Rationale: As a "quality of implementation", rather than pure "spec compliance", we require that Math.abs() clears the sign bit (but changes nothing else) for all numbers, including NaN (signaling NaN may become quiet though). These tests ensure that remains the case. NOTE: This is a better redo of reverted CL https://android-review.googlesource.com/#/c/316351/ Test: test-art-host Bug: 30758343 Change-Id: I2740f9aea19abd82335f1f000d92f1cdb469a1c3