XML 74 R64.htm IDEA: XBRL DOCUMENT v3.7.0.1
Financial Instruments - Narrative (Details) - USD ($)
$ in Millions
9 Months Ended 12 Months Ended
Jul. 31, 2017
Oct. 31, 2016
Investments, All Other Investments [Abstract]    
Carrying value of equity securities in privately-held companies $ 34 $ 16
Fair value of derivatives with credit contingent features in a net liability position $ 583 $ 2
Period to collateralize 2 days 2 days
Derivatives, Fair Value    
Loss expected to be reclassified from Accumulated OCI into earnings in next 12 months $ 442  
Cash flow hedges | Minimum    
Derivatives, Fair Value    
Duration of the loan term (period) 2 years  
Cash flow hedges | Maximum    
Derivatives, Fair Value    
Duration of the loan term (period) 5 years