abs is in stdlib.h rather than math.h.