-
Tom Tan authored
Because Windows ARM64 is in LLP64 data model, the long type as input parameter for labs is still 32-bit. std::abs has overloads for both long and long long type, which works for both LP64 and LLP64 data model (see below links). https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/abs-labs-llabs-abs64 https://en.cppreference.com/w/cpp/numeric/math/abs Bug: chromium:893460 Change-Id: I477d22d550bd92bf9dcc974ac84b4fe5222c1e13 Reviewed-on: https://chromium-review.googlesource.com/c/1448715Reviewed-by: Jaroslav Sevcik <jarin@chromium.org> Commit-Queue: Jaroslav Sevcik <jarin@chromium.org> Cr-Commit-Position: refs/heads/master@{#59358}
8f23860e