Table:
|  |  | Fiscal |  |
| --- | --- | --- | --- |
|  | 2019 | 2018 | 2017 |
| Weighted average shares outstanding—basic | 24,118 | 24,572 | 24,487 |
| Dilutive effect of employee stock awards | 161 | 279 | 290 |
| Weighted average shares outstanding—diluted | 24,279 | 24,851 | 24,777 |
| Net income from continuing operations | $53,825 | $247,360 | $208,644 |
| Loss from discontinued operations, net of income taxes | — | (2) | (1,522) |
| Net income | $53,825 | $247,358 | $207,122 |
Paragraphs:
Earnings Per Share
Basic earnings per share is computed based on the weighted average number of shares outstanding during the period, excluding unvested restricted stock. Diluted earnings per share is computed based on the weighted average number of shares outstanding during the period increased by the effect of dilutive employee stock awards, including stock options, restricted stock awards and stock purchase plan contracts, using the treasury stock method.
The following table presents information necessary to calculate basic and diluted earnings per share (in thousands, except per share data):
There were 98,103, 103,547 and 505 potentially dilutive securities excluded from the dilutive share calculation for fiscal 2019, 2018 and 2017, respectively, as their effect was anti-dilutive.
Question:
How was basic earnings per share computed?
Answer: based on the weighted average number of shares outstanding during the period, excluding unvested restricted stock