v3.26.1
Gains (Losses) on Derivative Instruments Recognized in Other Income (Expense), Net (Detail) - Other Income (Expense), Net - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Mar. 31, 2026
Mar. 31, 2025
Mar. 31, 2026
Mar. 31, 2025
Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges $ (100) $ (372) $ 227 $ 383
Equity Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges 133 176 1,743 (283)
Other Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges (13) 18 (7) 16
Fair Value Hedges | Interest Rate Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Derivatives (2) 3 (4) 5
Hedged items (4) (12) (19) (36)
Cash Flow Hedges | Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount reclassified from accumulated other comprehensive loss $ (34) $ 50 $ (46) $ (7)