XML 84 R72.htm IDEA: XBRL DOCUMENT v3.7.0.1
EARNINGS PER SHARE CALCULATION (Details 2) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2017
Jul. 31, 2016
Oct. 31, 2016
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Total excluded due to anti-dilutive effect (in shares) 682 11,280 10,186 41,214  
0.875% Convertible Senior Notes due June 15, 2017          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Interest rate on convertible notes (as a percent)         0.875%
3.75% Convertible Senior Notes due October 15, 2018          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Interest rate on convertible notes (as a percent) 3.75%   3.75%    
4.0% Convertible Senior Notes due December 15, 2020          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Interest rate on convertible notes (as a percent) 4.00%   4.00%    
Shares underlying stock options and restricted stock units          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Total excluded due to anti-dilutive effect (in shares) 682 2,082 988 2,089  
Convertible Senior Notes | 0.875% Convertible Senior Notes due June 15, 2017          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Total excluded due to anti-dilutive effect (in shares) 0 0 0 12,571  
Convertible Senior Notes | 3.75% Convertible Senior Notes due October 15, 2018          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Total excluded due to anti-dilutive effect (in shares) 0 0 0 17,356  
Convertible Senior Notes | 4.0% Convertible Senior Notes due December 15, 2020          
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Total excluded due to anti-dilutive effect (in shares) 0 9,198 9,198 9,198