XML 61 R45.htm IDEA: XBRL DOCUMENT v3.20.2
Financial Instruments - Additional Information (Detail) - USD ($)
3 Months Ended 6 Months Ended 12 Months Ended
Oct. 31, 2020
Oct. 31, 2019
Oct. 31, 2020
Oct. 31, 2019
Apr. 30, 2020
Financial Instrument [Line Items]          
Sale/maturities of available-for-sale marketable securities $ 16,700,000 $ 0 $ 28,400,000 $ 0  
Unrealized loss relates to equity securities         $ 8,200,000
Unrealized gains relates to equity securities     11,200,000    
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts          
Financial Instrument [Line Items]          
Foreign currency gains (losses) (500,000) $ 2,100,000 300,000 $ 500,000  
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Income Taxes And Other Receivables | Derivatives Purchased          
Financial Instrument [Line Items]          
Derivative notional amount 85,100,000   85,100,000   91,200,000
Not Designated as Hedge Instrument | Foreign Exchange Forward Contracts | Income Taxes And Other Receivables | Derivatives Sold          
Financial Instrument [Line Items]          
Derivative notional amount $ 49,200,000   $ 49,200,000   $ 41,800,000
Available-for-sale Marketable Securities | Minimum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     1 month    
Available-for-sale Marketable Securities | Maximum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     12 months