v3.25.4
Gains (Losses) on Derivative Instruments Recognized in Other Income (Expense), Net (Detail) - Other Income (Expense), Net - USD ($)
$ in Millions
3 Months Ended 6 Months Ended
Dec. 31, 2025
Dec. 31, 2024
Dec. 31, 2025
Dec. 31, 2024
Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges $ (54) $ 1,138 $ 327 $ 755
Equity Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges 31 (111) 1,610 (459)
Other Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Gains (Losses) on Derivatives Not Designated as Hedges 6 (26) 6 (2)
Fair Value Hedges | Interest Rate Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Derivatives (1) (18) (2) 2
Hedged items (7) 8 (15) (24)
Cash Flow Hedges | Foreign Exchange Contracts        
Derivative Instruments, Gain (Loss) [Line Items]        
Amount reclassified from accumulated other comprehensive loss $ (7) $ (106) $ (12) $ (57)