In C++ there are usually overloads of abs to deal with floats and other types (check documentation). Note: Other functions: fabs, labs and llabs for float, long ...
確定! 回上一頁