Added missing return value libmath.c