Stockholders' Equity - Summary of Activities Related to Stock Repurchase Program (Detail) - USD ($) $ / shares in Units, shares in Millions, $ in Millions |
3 Months Ended | |
|---|---|---|
Jul. 31, 2026 |
Jul. 25, 2025 |
|
| Equity Class Of Treasury Stock [Line Items] | ||
| Stock repurchases allocated | $ 200 | $ 300 |
| Retained Earnings | ||
| Equity Class Of Treasury Stock [Line Items] | ||
| Stock repurchases allocated | $ 191 | $ 233 |
| Stock Repurchase Program | ||
| Equity Class Of Treasury Stock [Line Items] | ||
| Number of shares repurchased | 1.5 | |
| Average price per share | $ 133.32 | |
| Remaining authorization at end of period | $ 1,302 | |
| Stock Repurchase Program | Additional Paid-in Capital | ||
| Equity Class Of Treasury Stock [Line Items] | ||
| Stock repurchases allocated | 9 | |
| Stock Repurchase Program | Retained Earnings | ||
| Equity Class Of Treasury Stock [Line Items] | ||
| Stock repurchases allocated | $ 191 | |
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount remaining authorized for purchase of share under share repurchase plan. Includes, but is not limited to, repurchase of stock and unit of ownership. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Number of shares that have been repurchased and retired during the period. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Equity impact of the value of stock that has been repurchased and retired during the period. The excess of the purchase price over par value can be charged against retained earnings (once the excess is fully allocated to additional paid in capital). Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Total cost of shares repurchased divided by the total number of shares repurchased. No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|