IEEE754 single precision cannot precisely represent INT32_MAX/UINT_MAX/RAND_MAX. IEEE754 double precision cannot precisely represent INT64_MAX. As such, implicit conversions from operations with floating point and integral operands may result in a loss of precision. Accept the imprecision with by making the existing implicit casts explicit. Bug: 139945549 Test: mm Merged-in: Ic66b3d3bbac9e644e27ad8233018f24dfce3209f Change-Id: Ic5a40abbccb1bf4d78475a6f3d1d2835df603d0a Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>gugelfrei
parent
cb137d0ead
commit
37850a5d02
Loading…
Reference in new issue