XML 24 R13.htm IDEA: XBRL DOCUMENT v3.8.0.1
Short-Term and Long-Term Investments
3 Months Ended
Jan. 31, 2018
Investments, Debt and Equity Securities [Abstract]  
Short-Term and Long-Term Investments
SHORT-TERM AND LONG-TERM INVESTMENTS

As of the dates indicated, investments are comprised of the following (in thousands):

 
January 31, 2018
 
Amortized Cost
 
Gross Unrealized
Gains
 
Gross
Unrealized
Losses
 
Estimated Fair
Value
U.S. government obligations:
 
 
 
 
 
 
 
Included in short-term investments
$
239,404

 
$

 
(530
)
 
$
238,874

Included in long-term investments
59,313

 

 
(162
)
 
59,151

 
$
298,717

 
$

 
$
(692
)
 
$
298,025

 
 
 
 
 
 
 
 
Commercial paper:
 
 
 
 
 
 
 
Included in short-term investments
$
39,868

 
1

 

 
$
39,869

 
$
39,868

 
$
1

 
$

 
$
39,869


 
October 31, 2017
 
Amortized Cost
 
Gross Unrealized
Gains
 
Gross Unrealized
Losses
 
Estimated Fair
Value
U.S. government obligations:
 
 
 
 
 
 
 
Included in short-term investments
$
249,498

 
$

 
$
(305
)
 
$
249,193

Included in long-term investments
49,910

 

 
(127
)
 
49,783

 
$
299,408

 
$

 
$
(432
)
 
$
298,976

 
 
 
 
 
 
 
 
Commercial paper:
 
 
 
 
 
 
 
Included in short-term investments
$
29,939

 
1

 

 
$
29,940

 
$
29,939

 
$
1

 
$

 
$
29,940



The following table summarizes the final legal maturities of debt investments at January 31, 2018 (in thousands):

 
Amortized
Cost
 
Estimated
Fair Value
Less than one year
$
279,272

 
$
278,743

Due in 1-2 years
59,313

 
59,151

 
$
338,585

 
$
337,894