求绝对值 #include <math.h>int 型int abs(int x);long 型long labs(int x);浮点数 float doubledouble fabs(double x);