floating point cleanups