XML 64 R53.htm IDEA: XBRL DOCUMENT v3.25.1
Financial instruments - Summary of Derivative Income and Expenses Due to Fair Value Changes (Details) - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Feb. 28, 2025
Feb. 29, 2024
Feb. 28, 2025
Feb. 29, 2024
Realized Gain (Loss) | Derivative Financial Instruments, Liabilities        
Derivatives, Fair Value [Line Items]        
Unrealized and realized gains (losses) recorded in Other income (expense), net $ 955 $ 0 $ 955 $ 0
Derivatives not designated as hedges: | Total return swaps | Selling, general and administrative expenses        
Derivatives, Fair Value [Line Items]        
(Gain) loss on variable prepaid forward contracts (7) 18 5 17
Derivatives not designated as hedges: | Foreign currency forwards | Other income (expense), net        
Derivatives, Fair Value [Line Items]        
(Gain) loss on variable prepaid forward contracts (7) (26) 84 33
Derivatives not designated as hedges: | Variable prepaid forward contracts | Other income (expense), net        
Derivatives, Fair Value [Line Items]        
(Gain) loss on variable prepaid forward contracts $ 977 $ (522) $ 777 $ (888)