v3.26.1
Stockholders' Equity - Accumulated Other Comprehensive Income (Details) - USD ($)
$ in Millions
3 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning balance $ 4,020 $ 3,993
Net other comprehensive income (loss) (16) 36
Ending balance 3,969 3,988
Accumulated Foreign Currency Adjustment Attributable to Parent [Member]    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning balance (1)  
Net other comprehensive income (loss) (23) 25
Ending balance (24)  
Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent [Member]    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning balance (5)  
Net other comprehensive income (loss) 6 2
Ending balance 1  
Accumulated Defined Benefit Plans Adjustment Attributable to Parent [Member]    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning balance (102)  
Net other comprehensive income (loss) 1 9
Ending balance (101)  
AOCI Attributable to Parent [Member]    
Accumulated Other Comprehensive Income (Loss) [Line Items]    
Beginning balance (108) (220)
Net other comprehensive income (loss) (16) 36
Ending balance $ (124) $ (184)