XML 40 R29.htm IDEA: XBRL DOCUMENT v3.3.1.900
Basic and Diluted (loss) Earnings per Common Share Attributable to Common Stockholders (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 9 Months Ended
Jan. 31, 2016
Jan. 31, 2015
Jan. 31, 2016
Jan. 31, 2015
Earnings Per Share Disclosure [Line Items]        
Net (loss) income $ (15,995) $ 22,939 $ 25,058 $ 62,875
Less: distributed and undistributed earnings to nonvested restricted stockholders 54 223 235 632
Basic net (loss) earnings attributable to common stockholders (16,049) 22,716 24,823 62,243
Add: undistributed earnings to nonvested restricted stockholders   223 83 632
Less: reallocation of undistributed earnings to nonvested restricted stockholders   220 82 623
Diluted net (loss) earnings attributable to common stockholders $ (16,049) $ 22,719 $ 24,824 $ 62,252
Basic weighted-average number of common shares outstanding 54,003 49,135 51,159 48,973
Diluted weighted-average number of common shares outstanding 54,003 49,724 51,683 49,663
Basic (loss) earnings per share $ (0.30) $ 0.46 $ 0.49 $ 1.27
Diluted (loss) earnings per share $ (0.30) $ 0.46 $ 0.48 $ 1.25
ESPP        
Earnings Per Share Disclosure [Line Items]        
Stock   1 12 1
Restricted Stock        
Earnings Per Share Disclosure [Line Items]        
Stock   491 459 578
Stock Options        
Earnings Per Share Disclosure [Line Items]        
Stock   97 53 111