函数 功能 头文件 abs 求整数的绝对值 #include <stdlib.h> labs 求长整形的绝对值 #include <stdlib.h> fabs 求浮点数的绝对值 #include <math.h>