XML 39 R27.htm IDEA: XBRL DOCUMENT v3.8.0.1
Net Income (Loss) per Share
9 Months Ended
Apr. 28, 2018
Earnings Per Share [Abstract]  
Net Income (Loss) per Share
Net Income (Loss) per Share
The following table presents the calculation of basic and diluted net income (loss) per share (in millions, except per-share amounts):
 
Three Months Ended
 
Nine Months Ended
 
April 28,
2018
 
April 29,
2017
 
April 28,
2018
 
April 29,
2017
Net income (loss)
$
2,691

 
$
2,515

 
$
(3,693
)
 
$
7,185

Weighted-average shares—basic
4,791

 
5,005

 
4,892

 
5,015

Effect of dilutive potential common shares
53

 
40

 

 
41

Weighted-average shares—diluted
4,844

 
5,045

 
4,892

 
5,056

Net income (loss) per share—basic
$
0.56

 
$
0.50

 
$
(0.76
)
 
$
1.43

Net income (loss) per share—diluted
$
0.56

 
$
0.50

 
$
(0.76
)
 
$
1.42


Employee equity share options, unvested shares, and similar equity instruments are treated as potential common shares outstanding in computing diluted earnings per share. Diluted shares outstanding include the dilutive effect of in-the-money options, unvested restricted stock, and restricted stock units. The dilutive effect of such equity awards is calculated based on the average share price for each fiscal period using the treasury stock method. Under the treasury stock method, the amount the employee must pay for exercising stock options and the amount of compensation cost for future service that has not yet recognized would be recorded in additional paid-in capital when the award becomes deductible are collectively assumed to be used to repurchase shares.
The Company excluded antidilutive employee-share based awards of 5 million and 6 million for the three months ended April 28, 2018 and April 29, 2017, respectively. The Company excluded antidilutive employee-share based awards of 118 million for the nine months ended April 29, 2017. For the nine months ended April 28, 2018, the Company excluded the impact of potentially dilutive common shares from the calculation of net income (loss) per share as the inclusion would have an antidilutive effect.