XML 30 R18.htm IDEA: XBRL DOCUMENT v3.7.0.1
NET LOSS PER SHARE
9 Months Ended
Apr. 30, 2017
Earnings Per Share [Abstract]  
NET LOSS PER SHARE
NET LOSS PER SHARE
The computation of basic and diluted net loss per share is as follows (in thousands, except share and per share data):
 
Three Months Ended
April 30,
 
Nine Months Ended
April 30,
 
2016
 
2017
 
2016
 
2017
Numerator:
 
 
 
 
 
 
 
Net loss
$
(46,820
)
 
$
(111,977
)
 
$
(118,570
)
 
$
(367,358
)
Denominator:
 
 
 
 
 
 
 
Weighted-average shares—basic and diluted
44,441,954

 
144,054,432

 
43,643,451

 
119,851,586

Net loss per share attributable to common stockholders—basic and diluted
$
(1.05
)
 
$
(0.78
)
 
$
(2.72
)
 
$
(3.07
)

    
The potential shares of common stock that were excluded from the computation of diluted net loss per share attributable to common stockholders for the periods presented because including them would have been anti-dilutive are as follows:
 
Three and Nine Months Ended
April 30,
 
2016
 
2017
Stock awards
37,614,944

 
41,204,043

Common stock subject to repurchase
1,227,131

 
383,736

Common stock warrants

 
34,180

Convertible preferred stock
76,319,511

 

Convertible preferred stock warrants
824,094

 

Total
115,985,680


41,621,959