abd to std::abs