Table:
|  |  | Fiscal |  |
| --- | --- | --- | --- |
|  | 2019 | 2018 | 2017 |
|  |  | (in millions) |  |
| Basic | 338 | 350 | 355 |
| Dilutive impact of share-based compensation arrangements | 2 | 3 | 3 |
| Diluted | 340 | 353 | 358 |
Paragraphs:
16. Earnings Per Share
The weighted-average number of shares outstanding used in the computations of basic and diluted earnings per share were as follows:
Question:
What was used in the computations of basic and diluted earnings per share?
Answer: The weighted-average number of shares outstanding