XML 59 R47.htm IDEA: XBRL DOCUMENT v3.19.1
Net Income (Loss) per Share (Tables)
9 Months Ended
Apr. 27, 2019
Earnings Per Share [Abstract]  
Calculation of Basic and Diluted Net Income 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 27,
2019
 
April 28,
2018
 
April 27,
2019
 
April 28,
2018
Net income (loss)
$
3,044

 
$
2,691

 
$
9,415

 
$
(3,693
)
Weighted-average shares—basic
4,370

 
4,791

 
4,468

 
4,892

Effect of dilutive potential common shares
45

 
53

 
41

 

Weighted-average shares—diluted
4,415

 
4,844

 
4,509

 
4,892

Net income (loss) per share—basic
$
0.70

 
$
0.56

 
$
2.11

 
$
(0.76
)
Net income (loss) per share—diluted
$
0.69

 
$
0.56

 
$
2.09

 
$
(0.76
)