(d) An anticipated loss on a long-term contract should be recognized immediately under both the percentage-of-completion and the completed-contract methods.