I found the below definition:
"A method of accounting where entries for the ownership of a security and the opposing hedge are treated as one. Hedge accounting attempts to reduce the volatility created by the repeated adjustment of a financial instrument's value, known as marking to market. This reduced volatility is done by combining the instrument and the hedge as one entry, which offsets the opposing movements"
Can anyone explain this with some real world examples? What is the standard that deals with hedge accounting? IAS 39 or IFRS 9?