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, | | 2019 | | 2018 | | 2019 | | 2018 | | In millions, except per share amounts | Numerator: | |
| | |
| | | | | Net (loss) earnings from continuing operations | $ | (27 | ) | | $ | 452 |
| | $ | 569 |
| | $ | 2,784 |
| Net loss from discontinued operations | — |
| | (1 | ) | | — |
| | (119 | ) | Net (loss) earnings | $ | (27 | ) | | $ | 451 |
| | $ | 569 |
| | $ | 2,665 |
| Denominator: | |
| | |
| | | | | Weighted-average shares used to compute basic net EPS | 1,334 |
| | 1,513 |
| | 1,367 |
| | 1,552 |
| Dilutive effect of employee stock plans | — |
| | 18 |
| | 13 |
| | 26 |
| Weighted-average shares used to compute diluted net EPS | 1,334 |
| | 1,531 |
| | 1,380 |
| | 1,578 |
| Basic net (loss) earnings per share: | |
| | |
| | | | | Continuing operations | $ | (0.02 | ) | | $ | 0.30 |
| | $ | 0.42 |
| | $ | 1.79 |
| Discontinued operations(1) | — |
| | — |
| | — |
| | (0.07 | ) | Basic net (loss) earnings per share | $ | (0.02 | ) | | $ | 0.30 |
| | $ | 0.42 |
| | $ | 1.72 |
| Diluted net (loss) earnings per share: | | | | | | | | Continuing operations | $ | (0.02 | ) | | $ | 0.29 |
| | $ | 0.41 |
| | $ | 1.76 |
| Discontinued operations(1)(2) | — |
| | — |
| | — |
| | (0.07 | ) | Diluted net (loss) earnings per share | $ | (0.02 | ) | | $ | 0.29 |
| | $ | 0.41 |
| | $ | 1.69 |
| Anti-dilutive weighted-average stock awards(3) | 44 |
| | 2 |
| | 4 |
| | 3 |
|
| | (1) | EPS for discontinued operations was calculated by deducting the EPS from continuing operations from the total EPS. |
| | (2) | 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. |
(3) 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.
|