XML 84 R72.htm IDEA: XBRL DOCUMENT v3.7.0.1
EARNINGS (LOSS) PER SHARE CALCULATION (Details 2) - shares
shares in Thousands
3 Months Ended
Jan. 31, 2017
Jan. 31, 2016
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]    
Total excluded due to anti-dilutive effect (in shares) 33,673 43,030
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%  
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%  
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) 1,556 3,565
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) 5,564 12,912
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) 17,355 17,355
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) 9,198 9,198