commit | f2539c3bacc1982a2db933127aa0786c11c31b5c | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Thu Sep 26 14:29:48 2019 -0400 |
committer | Stan Iliev <stani@google.com> | Mon Sep 30 10:32:04 2019 -0400 |
tree | cc813fafa8e5f34f51e7fa605fb97e9133789537 | |
parent | fc733e1d5e89c56a26b15176efdf2819d4de450e [diff] |
Improve comparison of fractions Fraction comparison does not work for 143.999985 and 2.000001. This CL resolves this corner case. Bug: 140778647 Test: pass CTS Change-Id: I7e39ba822167a3c36c628255a4c79b1ade976929 (cherry picked from commit 019adb02932a889ebd200a1de8b8c4780b1477dc)