math.h for osx.