v3.10.0.1

Net Earnings Per Share (Tables) | 9 Months Ended
--- | ---
Jul. 31, 2018
Earnings Per Share [Abstract] |
Reconciliations of the Numerators and Denominators of the Basic and Diluted Net EPS Calculations | The reconciliations of the numerators and denominators of each of the basic and diluted net EPS calculations were as follows:
| Three months ended July 31, |  | Nine months ended July 31,
| 2018 |  | 2017 |  | 2018 |  | 2017
| In millions, except per share amounts
Numerator: |  |  |  |  |  |  |  |  |
Net earnings from continuing operations | $ | 452 |  |  | $ | 285 |  |  | $ | 2,784 |  |  | $ | 58 |
Net loss from discontinued operations | (1 | ) |  | (120 | ) |  | (119 | ) |  | (238 | )
Net earnings (loss) | $ | 451 |  |  | $ | 165 |  |  | $ | 2,665 |  |  | $ | (180 | )
Denominator: |  |  |  |  |  |  |  |  |
Weighted-average shares used to compute basic net EPS | 1,513 |  |  | 1,641 |  |  | 1,552 |  |  | 1,656 |
Dilutive effect of employee stock plans | 18 |  |  | 26 |  |  | 26 |  |  | 27 |
Weighted-average shares used to compute diluted net EPS | 1,531 |  |  | 1,667 |  |  | 1,578 |  |  | 1,683 |
Basic net earnings (loss) per share: |  |  |  |  |  |  |  |  |
Continuing operations | $ | 0.30 |  |  | $ | 0.17 |  |  | $ | 1.79 |  |  | $ | 0.04 |
Discontinued operations | — |  |  | (0.07 | ) |  | (0.07 | ) |  | (0.15 | )
Basic net earnings (loss) per share | $ | 0.30 |  |  | $ | 0.10 |  |  | $ | 1.72 |  |  | $ | (0.11 | )
Diluted net earnings (loss) per share: |  |  |  |  |  |  |
Continuing operations | $ | 0.29 |  |  | $ | 0.17 |  |  | $ | 1.76 |  |  | $ | 0.03 |
Discontinued operations(1) | — |  |  | (0.07 | ) |  | (0.07 | ) |  | (0.14 | )
Diluted net earnings (loss) per share | $ | 0.29 |  |  | $ | 0.10 |  |  | $ | 1.69 |  |  | $ | (0.11 | )
Anti-dilutive weighted-average stock awards(2) | 2 |  |  | 16 |  |  | 3 |  |  | 8 |
(1) | U.S. GAAP requires the denominator used in the diluted net EPS calculation for discontinued operations to be the same as that of continuing operations, regardless of net earnings (loss) from continuing operations.
(2) | The Company excludes shares potentially issuable under employee stock plans that could dilute basic net EPS in the future from the calculation of diluted net earnings (loss) per share, as their effect, if included, would have been anti-dilutive for the periods presented.

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration