XML 77 R65.htm IDEA: XBRL DOCUMENT v3.24.1.1.u2
Financial instruments - Summary of Derivative Income and Expenses Due to Fair Value Changes (Details) - Not Designated as Hedging Instrument - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
May 31, 2024
May 31, 2023
May 31, 2024
May 31, 2023
Total return swaps | Selling, general and administrative expenses        
Derivatives, Fair Value [Line Items]        
Loss on variable prepaid forward contracts $ 2 $ 2 $ 19 $ 2
Foreign currency forwards | Other income, net        
Derivatives, Fair Value [Line Items]        
Loss on variable prepaid forward contracts (14) (112) 19 (203)
Variable Prepaid Forward | Other income, net        
Derivatives, Fair Value [Line Items]        
Loss on variable prepaid forward contracts $ 155 $ (26) $ (733) $ (26)