v3.26.1
Accumulated other comprehensive loss - Summary of Accumulated Other Comprehensive Loss (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2026
Apr. 30, 2025
AOCI Attributable to Parent, Net of Tax [Roll Forward]        
Beginning balance $ 3,112,106 $ 2,876,611 $ 3,043,571 $ 2,932,192
Reclassifications from AOCI to Statement of Income (2) 2,465 95,605 45,424 43,926
Ending balance 3,202,235 2,960,304 3,202,235 2,960,304
Accumulated Other Comprehensive Income (Loss)        
AOCI Attributable to Parent, Net of Tax [Roll Forward]        
Beginning balance (57,203) (236,007) (100,457) (184,840)
Other comprehensive income before reclassification adjustments     (54,760)  
Other Comprehensive Income (Loss), Reclassifications from AOCI to Statement of Income     24,891  
Other Comprehensive Income (Loss), Tax     4,786  
Ending balance (25,592) $ (140,822) (25,592) $ (140,822)
Cumulative translation and related hedging instruments        
AOCI Attributable to Parent, Net of Tax [Roll Forward]        
Beginning balance     (50,518)  
Other comprehensive income before reclassification adjustments     (41,400)  
Other Comprehensive Income (Loss), Reclassifications from AOCI to Statement of Income     0  
Other Comprehensive Income (Loss), Tax     (4,024)  
Ending balance (5,094)   (5,094)  
Pension and postretirement  benefit plan adjustments        
AOCI Attributable to Parent, Net of Tax [Roll Forward]        
Beginning balance     (49,939)  
Other comprehensive income before reclassification adjustments     (13,360)  
Other Comprehensive Income (Loss), Reclassifications from AOCI to Statement of Income     24,891  
Other Comprehensive Income (Loss), Tax     (8,810)  
Ending balance $ (20,498)   $ (20,498)