XML 49 R38.htm IDEA: XBRL DOCUMENT v3.22.2.2
Significant accounting policies - Additional Information (Detail) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2022
Jul. 31, 2021
Significant Accounting Policies [Line Items]        
Ownership percentage in affiliates and joint ventures 50.00%   50.00%  
Stock Options        
Significant Accounting Policies [Line Items]        
Options for common shares excluded from computation of diluted earning per share (in shares) 76 0 79 61