The computation of basic and diluted earnings per share for the three and nine months ended July 31, 2026 and 2025 follows (in thousands, except per share data): | | | | | | | | | | | | | | | | | | | | | | | | | Three Months Ended | | Nine Months Ended | | July 31, | | July 31, | | 2026 | | 2025 | | 2026 | | 2025 | | Basic earnings (loss) per share: | | | | | | | | | Numerator | | | | | | | | | Net income (loss) | $ | 26,504 | | | $ | (276,007) | | | $ | 25,783 | | | $ | (270,377) | | | Denominator | | | | | | | | | Shares used in computation of basic earnings (loss) per share | 45,461 | | | 45,691 | | | 45,466 | | | 46,395 | | | Basic earnings (loss) per common share | $ | 0.58 | | | $ | (6.04) | | | $ | 0.57 | | | $ | (5.83) | | | Diluted earnings (loss) per share: | | | | | | | | | Numerator | | | | | | | | | Net income (loss) | $ | 26,504 | | | $ | (276,007) | | | $ | 25,783 | | | $ | (270,377) | | | Denominator | | | | | | | | | Shares used in computation of basic earnings (loss) per share | 45,461 | | | 45,691 | | | 45,466 | | | 46,395 | | | | | | | | | | | Effect of dilutive restricted stock awards | 178 | | | — | | | 132 | | | — | | | Effect of dilutive performance restricted stock units | 9 | | | — | | | 9 | | | — | | | Shares used in computation of diluted earnings (loss) per share | 45,648 | | | 45,691 | | | 45,607 | | | 46,395 | | | Diluted earnings (loss) per common share | $ | 0.58 | | | $ | (6.04) | | | $ | 0.57 | | | $ | (5.83) | |
|