C语言函数大全(l开头)函数名: labs用法: long labs(long n);程序例:#include#includeint main(void)long result;long x = -L;result= labs(x);printf(number: %ld abs value: %ldn,x, result);return 0;函数名: ldexp功能: 计算value*2的幂用法: double ldexp(double value, int exp);程序例:#include#includeint main(void)double value;double x = 2;/* ldexp raises 2 by a power of 3then multiplies the result by 2 */value = ldexp(x,3);printf(The ldexp value is: %lfn,value);return 0;