fixed implementation of fdim by calling the version in math.h