XML 60 R47.htm IDEA: XBRL DOCUMENT v3.10.0.1
Net Income (Loss) per Share (Tables)
6 Months Ended
Jan. 26, 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
 
Six Months Ended
 
January 26,
2019
 
January 27,
2018
 
January 26,
2019
 
January 27,
2018
Net income (loss)
$
2,822

 
$
(8,778
)
 
$
6,371

 
$
(6,384
)
Weighted-average shares—basic
4,470

 
4,924

 
4,517

 
4,942

Effect of dilutive potential common shares
35

 

 
40

 

Weighted-average shares—diluted
4,505

 
4,924

 
4,557

 
4,942

Net income (loss) per share—basic
$
0.63

 
$
(1.78
)
 
$
1.41

 
$
(1.29
)
Net income (loss) per share—diluted
$
0.63

 
$
(1.78
)
 
$
1.40

 
$
(1.29
)