Stock-Based Compensation (Details 3) - USD ($) |
12 Months Ended | |||
|---|---|---|---|---|
Oct. 31, 2016 |
Oct. 31, 2015 |
Oct. 31, 2014 |
Nov. 01, 2015 |
|
| Share-based compensation | ||||
| Common stock, authorized (shares) | 9,600,000,000 | |||
| Maximum contribution limit as percentage of base compensation (as a percent) | 15.00% | |||
| Offering period | 24 months | |||
| Current offering period | 6 months | |||
| Stock-based compensation expense, net of tax | $ 416,000,000 | $ 400,000,000 | $ 286,000,000 | |
| Employee Stock Purchase Plan | ||||
| Share-based compensation | ||||
| Common stock, authorized (shares) | 80,000,000 | |||
| Maximum contribution limit as percentage of base compensation (as a percent) | 10.00% | 10.00% | ||
| Stock purchase price as a percentage of the fair market value on the purchase date | 95.00% | 95.00% | ||
| Stock-based compensation expense, net of tax | $ 0 | $ 0 | ||
| Stock Options | ||||
| Share-based compensation | ||||
| Unrecognized pre-tax stock-based compensation expense | $ 58,000,000 | |||