Net Recognized Gains (Losses) on Equity Investments (Detail) - USD ($) $ in Millions |
12 Months Ended | ||
---|---|---|---|
Jun. 30, 2025 |
Jun. 30, 2024 |
Jun. 30, 2023 |
|
Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items] | |||
Net realized gains on investments sold | $ 83 | $ 18 | $ 75 |
Net unrealized gains on investments still held | 536 | 146 | 303 |
Total | (349) | (118) | 260 |
Equity Securities | |||
Schedule Of Gain Loss On Investments Including Marketable Securities And Investments Held At Cost Income Statement Reported Amounts Summary [Line Items] | |||
Impairments of investments | (951) | (229) | (20) |
Total | $ (332) | $ (65) | $ 358 |