Net Earnings (Loss) Per Share The Company calculates basic net EPS using net earnings and the weighted-average number of shares outstanding during the reporting period. Diluted net EPS includes the weighted-average dilutive effect of restricted stock awards, stock options, and performance-based awards. The reconciliations of the numerators and denominators of each of the basic and diluted net EPS calculations were as follows: | | | | | | | | | | | | | | | | | | Three months ended April 30, | | Six months ended April 30, | | 2017 | | 2016 | | 2017 | | 2016 | | In millions, except per share amounts | Numerator: | |
| | |
| | | | | (Loss) earnings from continuing operations | $ | (487 | ) | | $ | 322 |
| | $ | (232 | ) | | $ | 684 |
| (Loss) earnings from discontinued operations | (125 | ) | | (2 | ) | | (113 | ) | | (97 | ) | Net (loss) earnings | $ | (612 | ) | | $ | 320 |
| | $ | (345 | ) | | $ | 587 |
| Denominator: | |
| | |
| | |
| | |
| Weighted-average shares used to compute basic net EPS | 1,658 |
| | 1,725 |
| | 1,664 |
| | 1,743 |
| Dilutive effect of employee stock plans(1) | — |
| | 26 |
| | — |
| | 22 |
| Weighted-average shares used to compute diluted net EPS(1) | 1,658 |
| | 1,751 |
| | 1,664 |
| | 1,765 |
| Basic net (loss) earnings per share: | |
| | |
| | |
| | | Continuing operations | $ | (0.29 | ) | | $ | 0.19 |
| | $ | (0.14 | ) | | $ | 0.39 |
| Discontinued operations | (0.08 | ) | | — |
| | (0.07 | ) | | (0.06 | ) | Basic net (loss) earnings per share | $ | (0.37 | ) | | $ | 0.19 |
| | $ | (0.21 | ) | | $ | 0.33 |
| Diluted net (loss) earnings per share:(1) | | | | | | | | Continuing operations | $ | (0.29 | ) | | $ | 0.18 |
| | $ | (0.14 | ) | | $ | 0.39 |
| Discontinued operations(2) | (0.08 | ) | | — |
| | (0.07 | ) | | (0.06 | ) | Diluted net (loss) earnings per share | $ | (0.37 | ) | | $ | 0.18 |
| | $ | (0.21 | ) | | $ | 0.33 |
| Anti-dilutive weighted-average stock awards(1) | 85 |
| | 46 |
| | 90 |
| | 51 |
|
| | (1) | The Company excludes shares potentially issuable under employee stock plans that could dilute basic 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. |
| | (2) | U.S. GAAP requires the denominator used in the diluted EPS calculation for discontinued operations to be the same as that of continuing operations, regardless of net earnings (loss) from continuing operations. |
|