Implement corrections due to limited machine precision