handle setting of precision context and default precision