commit | 007bfb14d2d720cdd699cfbb36ce206246901cef | [log] [tgz] |
---|---|---|
author | Igor Murashkin <iam@google.com> | Thu Jun 05 18:02:22 2014 -0700 |
committer | Igor Murashkin <iam@google.com> | Fri Jun 06 16:38:09 2014 -0700 |
tree | cb7838e0d1417e554566040b0284b53148b5c23e | |
parent | 21547d66a9ce591ff30a3ad4102f7f30a4764d80 [diff] |
util: Make Rational a Number/Comparable; add Range#inRange * Also changes Rational to reduce the numerator/denominator by its greatest common divisor at construction time (e.g. (2/4 -> 1/2)). Bug: 15432042 Change-Id: Ib827abccf44a040667e5931cf9442afc86b57e2d