diff -r ab77b144245d -r 801dc57371c3 project_files/hwc/rtl/pmath.c --- a/project_files/hwc/rtl/pmath.c Fri Nov 09 17:44:19 2018 +0300 +++ b/project_files/hwc/rtl/pmath.c Fri Nov 09 16:28:23 2018 +0100 @@ -32,12 +32,16 @@ float __attribute__((overloadable)) fpcrtl_abs(float x) { - return fabs(x); + return fabsf(x); } double __attribute__((overloadable)) fpcrtl_abs(double x) { return fabs(x); } +long double __attribute__((overloadable)) fpcrtl_abs(long double x) +{ + return fabsl(x); +} int __attribute__((overloadable)) fpcrtl_abs(int x) { return abs(x);