platform_hardware_interfaces/graphics/composer/2.1
Nick Desaulniers daedbd7e47 [hardware][interfaces][graphics] fix -Wimplicit-int-float-conversion
IEEE 754 single precision cannot precisely represent the value of large
32b integrals. Accept the imprecision from implicit casts by making the
casts explicit.

One case is comparing the value before and after converting a float to
an int32_t and back, the other is used when printing a value.

Bug: 139945549
Test: mm
Change-Id: I23375d73cd16be0741defc6395046bd3b22d1335
Merged-in: Id30edce2cd29c0f9c24cd52ba5fb33f7c56a3100
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2019-11-05 14:54:06 -08:00
..
default Remove libhwbinder/libhidltransport deps 2019-09-06 01:07:02 +00:00
utils [hardware][interfaces][graphics] fix -Wimplicit-int-float-conversion 2019-11-05 14:54:06 -08:00
vts VTS : fix vts fail [1/1] 2019-07-22 02:04:13 +00:00
Android.bp Update hidl makefiles for bpfmt 2019-04-17 09:38:50 -07:00
IComposer.hal
IComposerCallback.hal
IComposerClient.hal [composer] Remove implication. 2019-02-28 17:00:30 -08:00
types.hal Update comments for doc comments. 2018-05-18 10:10:32 -07:00