XML 58 R44.htm IDEA: XBRL DOCUMENT v3.24.0.1
Financial Instruments - Additional Information (Detail) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Jan. 31, 2024
Jan. 31, 2023
Jan. 31, 2024
Jan. 31, 2023
Apr. 30, 2023
Financial Instrument [Line Items]          
Sale/maturities of available-for-sale marketable securities $ 4.4 $ 14.3 $ 30.6 $ 47.3  
Unrealized gains relates to equity securities     20.9    
Unrealized losses relates to equity securities       2.8  
Not Designated as Hedge Instrument | Foreign currency forward contracts          
Financial Instrument [Line Items]          
Foreign currency gains (losses) 2.4 $ 3.3 0.9 $ 1.2  
Not Designated as Hedge Instrument | Foreign currency forward contracts | Income Taxes And Other Receivables | Derivatives Purchased          
Financial Instrument [Line Items]          
Derivative notional amount 84.1   84.1   $ 112.7
Not Designated as Hedge Instrument | Foreign currency forward contracts | Income Taxes And Other Receivables | Derivatives Sold          
Financial Instrument [Line Items]          
Derivative notional amount $ 33.7   $ 33.7   $ 41.1
Minimum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     1 month    
Maximum          
Financial Instrument [Line Items]          
Marketable securities remaining maturity     21 months