TS-3262 Change abs() to std::abs(), avoid compiler errors
Add TS-3262