commit | f9d88dfac159456d1d3774419f3bbe5c7714fd66 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Mon Jul 02 12:04:39 2018 +0100 |
committer | Neil Fuller <nfuller@google.com> | Mon Jul 02 12:04:39 2018 +0100 |
tree | 794ecb0afc007054d8f248488e21df456ca71bdb | |
parent | 9916d4b3e89b1faf8b658cc3924e0b30cc46958a [diff] |
Make Half class use public APIs Half has a dependency on an internal sun.misc.FloatingDecimal that can be replaced by an equivalent call on java.lang.Float (which calls through to FloatingDecimal). Any performance hit is worth it for a smaller API surface. Bug: 111055375 Test: Build Change-Id: Iecdf3aa9414922a77edbdc439b0c2b88033b3af8