Net Earnings 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 units, 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, | | 2018 | | 2017 | | 2018 | | 2017 | | In millions, except per share amounts | Numerator: | |
| | |
| | | | | Net earnings (loss) from continuing operations | $ | 850 |
| | $ | (478 | ) | | $ | 2,332 |
| | $ | (227 | ) | Net loss from discontinued operations | (72 | ) | | (134 | ) | | (118 | ) | | (118 | ) | Net earnings (loss) | $ | 778 |
| | $ | (612 | ) | | $ | 2,214 |
| | $ | (345 | ) | Denominator: | |
| | |
| | | | | Weighted-average shares used to compute basic net EPS | 1,552 |
| | 1,658 |
| | 1,571 |
| | 1,664 |
| Dilutive effect of employee stock plans | 30 |
| | — |
| | 30 |
| | — |
| Weighted-average shares used to compute diluted net EPS | 1,582 |
| | 1,658 |
| | 1,601 |
| | 1,664 |
| Basic net earnings (loss) per share: | |
| | |
| | | | | Continuing operations | $ | 0.55 |
| | $ | (0.29 | ) | | $ | 1.48 |
| | $ | (0.14 | ) | Discontinued operations | (0.05 | ) | | (0.08 | ) | | (0.07 | ) | | (0.07 | ) | Basic net earnings (loss) per share | $ | 0.50 |
| | $ | (0.37 | ) | | $ | 1.41 |
| | $ | (0.21 | ) | Diluted net earnings (loss) per share: | | | | | | | | Continuing operations | $ | 0.54 |
| | $ | (0.29 | ) | | $ | 1.46 |
| | $ | (0.14 | ) | Discontinued operations(1) | (0.05 | ) | | (0.08 | ) | | (0.08 | ) | | (0.07 | ) | Diluted net earnings (loss) per share | $ | 0.49 |
| | $ | (0.37 | ) | | $ | 1.38 |
| | $ | (0.21 | ) | Anti-dilutive weighted-average stock awards(2) | 1 |
| | 85 |
| | 3 |
| | 90 |
|
| | (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. |
|