computing modf