Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c674d38c authored by Brandon Liu's avatar Brandon Liu
Browse files

Add additional check on float precision after parsing, only compile the

value to a float when the difference between float and double parsed
from same raw string is smaller than 1.

Bug: b/69347762
Test: Verified affected atests pass and added new atest
Change-Id: I25da0baccba580484db39aa2d0a1bb765706635d
parent e1e4129f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment