summaryrefslogtreecommitdiff
path: root/include/android/system
diff options
context:
space:
mode:
authorNicholas Roth <nicholas@rothemail.net>2022-10-27 22:17:22 -0500
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-10-28 11:56:25 +0100
commite1e6c1b2f6680342c6a243b5a0007f593cd7e793 (patch)
tree2a02589ce14198098301d554616e9b594adbd184 /include/android/system
parent6a2f971035c2df711b10200f9c8c011d9a420e58 (diff)
ipa: raspberry: replace abs() with std::abs()
pwl.cpp uses abs() instead of std::abs(), which causes unexpected behavior in the Clang compiler used for Android. Replace with C++-standard absolute value function std::abs(), which supports double-precision absolute values in a standard way. Signed-off-by: Nicholas Roth <nicholas@rothemail.net> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Naushir Patuck <naush@raspberrypi.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/android/system')
0 files changed, 0 insertions, 0 deletions