commit | 1331b030926fd63ce31b4b4ddeb9ae4cda40eb21 | [log] [tgz] |
---|---|---|
author | Usama Arif <usama.arif@linaro.org> | Mon Oct 28 16:29:55 2019 +0000 |
committer | rohan <purohit.rohan@gmail.com> | Sun Jun 28 03:23:27 2020 -0400 |
tree | 2cf715e017892d2bc1da0c792e702f22500301a9 | |
parent | ba1d085d7702a8503bcb6ff79bb59b5fe429c4f9 [diff] |
Replace comparison check for infinity with isNaN function call This makes the code more readable Test: cts-tradefed run singleCommand cts-dev --module CtsUtilTestCases --test android.util.cts.HalfTest Change-Id: I6096a538eaaca7204a7e1498a232faa9b1db1938 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>