commit | c10ba1bf470b9ae0d9904e28105de5e679840cb9 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Tue Feb 17 11:54:28 2015 +0000 |
committer | Narayan Kamath <narayan@google.com> | Tue Feb 17 16:42:55 2015 +0000 |
tree | 2fb6e858299c3ea8e85c4c9bc26ac6ab6cc79564 | |
parent | db4499e1983c9649c8de7697d10825028fd8094d [diff] |
Handle infinities correctly in ChoiceFormat. We'd like ChoiceFormat.toPattern to emit a pattern that's parseable by ChoiceFormat - which means we need an infinity that's parseable by NumberFormat.parse(). Also, implement the nextDouble / previousDouble public API <sadface/> in terms of Math.nextAfter and Math.nextUp. bug: 19149384 Change-Id: Ieb13ee70c212d188ff9fde09463ced8d632f47ab